mean_ci {neatStats} | R Documentation |
Confidence Interval of Mean
Description
Calculates confidence interval of a vector of numbers.
Usage
mean_ci(x, distance_only = TRUE, ci = 0.95)
Arguments
x |
Numeric vector. |
distance_only |
Logical. If |
ci |
Numeric; confidence level for returned CI. |
Value
Distance of limit or confidence interval (as named vector).
See Also
Examples
myvec = c(11, 15, 19, 43, 53, -4, 34, 8, 33, -1, 54 )
mean_ci( myvec, FALSE )
mean_ci( myvec, FALSE, ci = .80 )
mean_ci( myvec, ci = .80 )
[Package neatStats version 1.13.3 Index]