Compute mean values with confidence intervals
# S3 method for default
ci.mean(x, alpha = 0.05, normal = TRUE, na.rm = TRUE,
statistic = "arithmetic", ...)
numeric vector
level of significance
If TRUE
use quantile of t-distribution else use normal approximation and quantile of normal approximation. Do you think this is confusing?
If TRUE
remove missing values from x
.
Decide which mean to compute: either "arithmetic"
or "geometric"
not used
a list with mean values and confidence limits
Normal approximation