Learn R Programming

swfscMisc (version 1.1)

central.quantile: Central Quantile

Description

Upper and lower values of central quantile

Usage

central.quantile(x, pct = 0.95)

Arguments

x
numeric vector.
pct
central percentile desired.

Value

a two element vector giving the lower and upper quantiles.

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