lower95: Calculate lower 95 % confidence limit

View source: R/lower95.R

lower95R Documentation

Calculate lower 95 % confidence limit

Description

Function with a short name to calculate 2.5th percentile of a distribution. Calls stats::quantile(x), but is shorter and is easier to use in calls to apply family of functions.

Usage

lower95(x)

Arguments

x

A numeric vector or matrix.

Value

Numeric vector of length 1 containing the 2.5th percentile of the sampling distribution for x.

Examples

# Example usage
## Not run: 
  
 x <- rnorm(1e4, 0, 1)
 
 lower95(x)
  

## End(Not run)

danStich/anadrofish documentation built on Jan. 17, 2025, 9:46 a.m.