upper95 | R Documentation |
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.
upper95(x)
x |
A numeric vector or matrix. |
Numeric vector of length 1 containing 97.5th percentile for sampling
distribution of x
.
# Example usage
## Not run:
x <- rnorm(1e4, 0, 1)
upper95(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.