powered by
This function implements R's type=8 in a more efficient manner.
climdex.quantile(x, q = c(0, 0.25, 0.5, 0.75, 1))
Data to compute quantiles on.
Quantiles to be computed.
A vector of the quantiles in question.
This is a reimplementation of R's type=8 created to improve the efficiency of this package.
quantile
# NOT RUN { ## Compute 10th, 50th, and 90th percentile of example data. climdex.quantile(1:10, c(0.1, 0.5, 0.9)) # }
Run the code above in your browser using DataLab