Learn R Programming

NADA (version 1.6-1.1)

quantile-methods: Methods for function quantile in Package NADA

Description

Methods for the function quantile in package NADA

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

Usage

# S4 method for ros
quantile(x, probs=NADAprobs, ...)

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

# S4 method for 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

Run this code
# NOT RUN {
    data(Cadmium)

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

    quantile(mymodel, conf.int=TRUE)
# }

Run the code above in your browser using DataLab