quantile.mc: Quantiles of a mc or mcnode Object

View source: R/quantile.mc.R

quantile.mcR Documentation

Quantiles of a mc or mcnode Object

Description

Evaluates quantiles of a ‘⁠mc⁠’ or ‘⁠mcnode⁠’ object. Used internally by plot.mc.

Usage

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

## S3 method for class 'mcnode'
quantile(x, ...)

Arguments

x

a ‘⁠mc⁠’ or ‘⁠mcnode⁠’ object.

probs

the quantiles to be calculated.

lim

a vector of numbers (between 0 and 1) indicating the envelope. May be ‘⁠NULL⁠’ or empty.

na.rm

logical; should NA values be stripped?

...

for generic method consistency.

Details

Quantiles are evaluated in the variability dimension. Then, the median, the mean and the ‘⁠lim⁠’ quantiles are evaluated for each of these quantiles in the uncertainty dimension.

Value

a list of quantiles.

See Also

plot.mc, quantile.

Examples

data(total)
quantile(total$xVUM3)
quantile(total)

mc2d documentation built on Oct. 23, 2026, 1:06 a.m.