conf_int | R Documentation |
Calculates the deviation that is needed to construct confidence intervals for a vector of observations.
conf_int(x, level = 0.95, na.rm = TRUE)
conf.int(x, level = 0.95, na.rm = TRUE)
ci(x, level = 0.95, na.rm = TRUE)
x |
Numeric. A vector of observations from your dependent variable. |
level |
Numeric. Defines the width of the interval if confidence intervals are plotted. Defaults to 0.95 for 95% confidence intervals. |
na.rm |
Logical. Specifies if missing values should be removed. |
Returns a single numeric value, the deviation of the symmetric confidence bounds from the mean based on the t distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.