Rmisc (version 1.5)

CI: Confidence Interval

Description

Calculates the confidence interval of a vector of data.

Usage

CI(x, ci = 0.95)

Arguments

x

a vector of data

ci

the confidence interval to be calculated

Value

upper

Upper bound of interval.

mean

Mean of data.

lower

Lower bound of interval.

Examples

Run this code
# NOT RUN {
CI(rnorm(100))
# }

Run the code above in your browser using DataLab