Skip to contents

Standard error of the mean

Usage

sem(x, ...)

# S4 method for AsIs
sem(x)

# S4 method for numeric
sem(x)

Arguments

x

Object.

...

Additional arguments.

Value

numeric.

Details

Alternatively, can use: sd(x) / sqrt(length(x)).

Note

Updated 2021-10-12.

See also

  • https://stackoverflow.com/questions/2676554/

Examples

x <- seq(from = 1L, to = 10L, by = 1L)
x <- sem(x)
x
#> [1] 0.9574271