Skip to contents

Gets the upper 97.5% quantile of a numeric vector.

Usage

ci_hi(.x, .na_rm = FALSE)

Arguments

.x

A vector of numeric values

.na_rm

A Boolean, defaults to FALSE. Passed to the quantile function.

Value

A numeric value.

Details

Gets the upper 97.5% quantile of a numeric vector.

Author

Steven P. Sanderson II, MPH

Examples

x <- mtcars$mpg
ci_hi(x)
#> [1] 32.7375