mean_se {dipsaus} | R Documentation |
Calculates mean and standard error of mean
mean_se(x, na.rm = FALSE, se_na_as_zero = na.rm)
x |
R numerical object |
na.rm |
whether to remove |
se_na_as_zero |
see |
A named vector containing the mean
and standard error
of mean (ste_mean
).
# Mean should be near 0 (mean of standard normal)
# standard error of mean should be near 0.01
mean_se(rnorm(10000))