Skip to contents

Calculates the standard error of the mean.

Usage

std.error(x,na.rm)

Arguments

x

A vector of numerical observations.

na.rm

Dummy argument to match other functions.

Details

std.error will accept a numeric vector.

Value

The conventional standard error of the mean = sd(x)/sqrt(sum(!is.na(x)))

Author

Jim Lemon

See also