ci_mean {BENMMI} | R Documentation |
Mean and Confidence Interval
Description
Mean and Confidence Interval
Usage
ci_mean(x, level = 0.9)
Arguments
x |
numeric vector |
level |
confidence level |
Note
Internal function. Not supposed to be called directly
Examples
stopifnot(all.equal(ci_mean(NA_real_), c(NA_real_, NA_real_, NA_real_)))
stopifnot(all.equal(ci_mean(1), c(lower = NA_real_, mean = 1, upper = NA_real_)))
stopifnot(all.equal(
ci_mean(1:9, 0.95),
c(lower = 2.934942, mean = 5.000000, upper = 7.065058),
tolerance = 0.0001)
)
[Package BENMMI version 4.3-7 Index]