Description Usage Arguments Details Value Examples
Calculates confidence intervals for the mean of a normally-distributed variable.
1 |
x |
A numeric vector, data frame or matrix containing the observations. |
conf |
The level of confidence desired. Defaults to a 95% confidence interval |
na.rm |
Logical value indicating whether missing values are to be removed. Defaults to |
This function calculates the confidence interval for the mean of
a variable (or set of variables in a data frame or matrix), under the
standard assumption that the data are normally distributed. By default it
returns a 95% confidence interval (conf = 0.95
) and does not
remove missing values (na.rm = FALSE
).
The output is a matrix containing the lower and upper ends of the confidence interval for each variable. If a data frame is specified as input and contains non-numeric variables, the corresponding rows in the output matrix have NA values.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.