predict-methods {NADA}R Documentation

Methods for function predict in package NADA

Description

Functions that perform predictions using NADA model objects.

For ros models, predict the normal quantile of a value.

For cenfit objects, predict the probabilities of new observations.

Usage

## S4 method for signature 'ros':
predict(object, newdata, ...)

## S4 method for signature 'cenfit':
predict(object, newdata, conf.int=FALSE, ...)

## S4 method for signature 'cenreg':
predict(object, newdata, conf.int=FALSE, ...)

## S4 method for signature 'cenfit':
pexceed(object, newdata, conf.int=FALSE, ...)

## S4 method for signature 'ros':
pexceed(object, newdata, conf.int=FALSE, ...)

Arguments

object An output object from a NADA function such as ros.
newdata Numeric vector of data for which to predict model values. For ros objects this will be new normalized quantiles of plotting positions. For cenfit objects this will be new observations for which you desire the modeled probabilities.
conf.int A logical indicating if confidence intervals should be computed. For cenfit objects, the confidence interval is set during the call to cenfit. Currently not supported for ros objects.
... Additional arguments passed to the generic method.

[Package NADA version 1.5-1 Index]