quantile.ordered {tornado}R Documentation

Quantile for Ordered Factors

Description

Quantile for Ordered Factors

Usage

## S3 method for class 'ordered'
quantile(x, probs = seq(0, 1, 0.25), ...)

Arguments

x

an ordered factor

probs

the desired quatiles

...

arugments passed on

Value

ordered factor levels at the desired quantiles

Examples

quantile(ordered(rep(c("C","B","A"), each=30), levels=c("C","B","A")),
         probs <- seq(0, 1, 0.25))

[Package tornado version 0.1.3 Index]