Calculates mean and standard error of mean
Arguments
- x
R numerical object
- na.rm
whether to remove
NA
; default is false- se_na_as_zero
see
na_as_zero
inste_mean
Examples
# Mean should be near 0 (mean of standard normal)
# standard error of mean should be near 0.01
mean_se(rnorm(10000))
#> mean se
#> -0.0008053411 0.0099975702