CI: Calculate 95 percent confidence intervals

View source: R/13-01-defineFunctions.R

CIR Documentation

Calculate 95 percent confidence intervals

Description

A helper function to calculate 95 intervals on an object.

Usage

CI(x)

Arguments

x

A numeric vector.

Value

Returns the 2.5th and 97.5th quantiles of an object.

Examples


CI(rnorm(n = 1e3, 0, 1))

danStich/shadia documentation built on Aug. 28, 2024, 9:42 p.m.