predict-methods: Methods for function predict in package NADA

Description Usage Arguments

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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, conf.level=0.95, ...)

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.

conf.level

The actual confidence level to which to bracket the prediction. Default is 0.95

...

Additional arguments passed to the generic method.


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

Related to predict-methods in NADA...