Description Usage Arguments Details Value See Also Examples
This function implements R's type=8 in a more efficient manner.
1 | climdex.quantile(x, q = c(0, 0.25, 0.5, 0.75, 1))
|
x |
Data to compute quantiles on. |
q |
Quantiles to be computed. |
This is a reimplementation of R's type=8 created to improve the efficiency of this package.
A vector of the quantiles in question.
1 2 | ## Compute 10th, 50th, and 90th percentile of example data.
climdex.quantile(1:10, c(0.1, 0.5, 0.9))
|
Loading required package: PCICt
[1] 1.366667 5.500000 9.633333
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.