Skip to contents

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

Usage

upper95(x)

Arguments

x

A numeric vector or matrix.

Value

Numeric vector of length 1 containing 95

Examples

# Example usage
if (FALSE) { # \dontrun{
  
 x <- rnorm(1e4, 0, 1)
 
 upper95(x)
  
} # }