Standard Error of the Mean with CI

mean_ci_sem(x, conf.level = 0.95)

Arguments

x

a numeric vector or R object which is coercible to one

conf.level

the confidence level (alpha) of the Interval

Value

a data.frame with the mean, SEM and its Confidence Interval

Examples

set.seed(42) iq <- rnorm(100, 100, 15) mean_ci_sem(iq)
#> y SEM ymin ymax #> 1 100.48772 1.5620354 97.426189 103.54926