Description Usage Arguments Value Examples
Make a confidence interval for the mean of a vector of values.
1 | confidenceInterval(x, confidence = 0.95, na.rm = TRUE, distr = c("normal", "t"))
|
x |
A vector of values for which the mean and its confidence interval will be calculated. |
confidence |
Desired level of confidence for the confidence interval. Defaults to 0.95. |
na.rm |
Logical indicating whether missing observations should be removed. Defaults to |
distr |
Distribution used to find the critical value. Default is |
A vector of values giving the mean, confidence interval and standard error.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.