Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

envalysis (version 0.3.3)

CI: Confidence interval

Description

This wrapper function computes the confidence interval of the values in x. If na.rm is TRUE, missing values are removed before the computation proceeds.

Usage

CI(x, level = 0.95, na.rm = FALSE)

Arguments

x

a numeric vector or an R object which is coercible to one by as.vector(x, "numeric").

level

the confidence level required.

na.rm

logical. Should missing values be removed?

See Also

sd for the standard deviation.

Examples

Run this code
# NOT RUN {
CI(1:5)

# }

Run the code above in your browser using DataLab