Quantile: Compute quantiles using type = 6

View source: R/resample.R

QuantileR Documentation

Compute quantiles using type = 6

Description

Front end to quantile, using type = 6 (appropriate for resampling)

Usage

Quantile(x, ..., type = 6)

Arguments

x

resample object, numerical object, or other object with a method for quantile.

...

Other arguments passed to quantile.

type

With type=6 and 99 observations, the k% quantile is the k'th smallest observation; this corresponds to equal probability above the largest observation, below the smallest observation, and between each pair of adjacent observations.

Details

This is a front end to quantile.

Value

A vector or matrix of quantiles.

Author(s)

Tim Hesterberg timhesterberg@gmail.com,
https://www.timhesterberg.net/bootstrap-and-resampling

See Also

quantile

Examples

quantile(1:9, .2)
Quantile(1:9, .2)

resample documentation built on June 13, 2022, 5:08 p.m.