climdex.quantile: Climind quantile function

View source: R/quantilesfun.R

climdex.quantileR Documentation

Climind quantile function

Description

This function implements R's type=8 in a more efficient manner.

Usage

climdex.quantile(x, q = c(0, 0.25, 0.5, 0.75, 1))

Arguments

x

Data to compute quantiles on.

q

Quantiles to be computed.

Details

This is a reimplementation of R's type=8 created to improve the efficiency of this package.

Value

A vector of the quantiles in question.

See Also

quantile

Examples


## Compute 10th, 50th, and 90th percentile of example data.
climdex.quantile(1:10, c(0.1, 0.5, 0.9))


ECA-D/climind documentation built on Nov. 26, 2022, 10:20 a.m.