Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 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

data(Cadmium)

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

    quantile(mymodel, conf.int=TRUE)

NADA

Nondetects and Data Analysis for Environmental Data

v1.6-1.1
GPL (>= 2)
Authors
Lopaka Lee
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.