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.
# S4 method for ros
predict(object, newdata, ...)# S4 method for cenfit
predict(object, newdata, conf.int=FALSE, ...)
# S4 method for cenreg
predict(object, newdata, conf.int=FALSE, ...)
# S4 method for cenfit
pexceed(object, newdata, conf.int=FALSE, ...)
# S4 method for ros
pexceed(object, newdata, conf.int=FALSE, conf.level=0.95, ...)
An output object from a NADA function such as ros
.
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.
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.
The actual confidence level to which to bracket the prediction. Default is 0.95
Additional arguments passed to the generic method.