Obtain the standard error of the mean

se_mean(x, na.rm = FALSE)

## Arguments

x a numeric vector a logical value indicating whether NA values should be stripped before the computation proceeds.

## Value

a scalar equal to the standard error of the mean, computed as sd(x)/(sqrt(n)).

## Examples


x <- rnorm(100)
mean(x)#> [1] 0.03102274se_mean(x)#> [1] 0.08982355