quantile-methods: Methods for function quantile in Package NADA

Description Usage Arguments Examples

Description

Methods for the function quantile in package NADA

Compute the modeled values of quantiles or probabilities using a model object.

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'ros'
quantile(x, probs=NADAprobs, ...)

## S4 method for signature 'cenfit'
quantile(x, probs=NADAprobs, conf.int=FALSE, ...)

## S4 method for signature 'cenmle'
quantile(x, probs=NADAprobs, conf.int=FALSE, ...)

Arguments

x

An output object from a NADA fuction such as ros.

probs

Numeric vector of probabilities for which to calculate model values. The default is the global variable NADAprobs = c(0.05, 0.10, 0.25, 0.50, 0.75, 0.90, 0.95).

conf.int

A logical indicating if confidence intervals should be computed. For cenfit and cenmle objects, the confidence interval is set during the call to cenfit. Currently not supported for ros objects.

...

Additional arguments passed to the generic method.

Examples

1
2
3
4
5
    data(Cadmium)

    mymodel = cenfit(Cadmium$Cd, Cadmium$CdCen, Cadmium$Region)

    quantile(mymodel, conf.int=TRUE)

NADA documentation built on March 22, 2020, 5:07 p.m.

Related to quantile-methods in NADA...