Learn R Programming

resample (version 0.6)

Quantile: 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.

Value

A vector or matrix of quantiles.

Details

This is a front end to quantile.

See Also

quantile

Examples

Run this code
# NOT RUN {
quantile(1:9, .2)
Quantile(1:9, .2)
# }

Run the code above in your browser using DataLab