R: Climdex quantile function

climdex.quantile {climdex.pcic} | R Documentation

## Climdex 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))

[Package climdex.pcic version 1.1-11 Index]