Learn R Programming

swfscMisc (version 1.6.5)

central.quantile: Central Quantile

Description

Upper and lower values of central quantile

Usage

central.quantile(x, pct = 0.95)

Value

a two element vector giving the lower and upper quantiles.

Arguments

x

numeric vector.

pct

central percentile desired.

Author

Eric Archer eric.archer@noaa.gov

Examples

Run this code
x <- runif(1000)
central.quantile(x)
central.quantile(x, pct = 0.75)

Run the code above in your browser using DataLab