Learn R Programming

mc2d (version 0.2.0)

quantile.mc: Quantiles of a mc Object

Description

Evaluates quantiles of a mc object. This function is used by plot.mc

Usage

# S3 method for mc
quantile(x, probs=seq(0, 1, 0.01), lim=c(0.025, 0.975), na.rm=TRUE, ...)
# S3 method for mcnode
quantile(x, ...)

Value

A list of quantiles.

Arguments

x

a mc objects

probs

the quantiles to be calculated

na.rm

TRUE or FALSE

lim

a vector of numbers (between 0 and 1) indicating the envelope. Maybe NULL or empty.

...

For generic method consistency.

Details

The quantiles are evaluated in the variability dimension. Then, the median, the mean and the lim quantiles are evaluated for each of these quantiles.

See Also

plot.mc, quantile.

Examples

Run this code
data(total)
quantile(total$xVUM3)
quantile(total)

Run the code above in your browser using DataLab