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 Nov. 2, 2023, 6:43 a.m.