ci_of_mean {kim} | R Documentation |
Confidence Interval of the Mean of a Vector
Description
Returns the confidence interval of the mean of a numeric vector.
Usage
ci_of_mean(x = NULL, confidence_level = 0.95, notify_na_count = NULL)
Arguments
x |
a numeric vector |
confidence_level |
What is the desired confidence level expressed as a decimal? (default = 0.95) |
notify_na_count |
if |
Value
the output will be a named numeric vector with the lower and upper limit of the confidence interval.
Examples
ci_of_mean(x = 1:100, confidence_level = 0.95)
ci_of_mean(mtcars$mpg)
[Package kim version 0.6.1 Index]