Computes predicted values of top level nonlinear model parameters. These are conditional on an estimated nonlinear mixed effects model and, optionally, new data.
# S3 method for egf
predict(object, newdata = NULL, class = FALSE, se = FALSE, ...)
A numeric matrix containing predicted values.
Users can pass class = TRUE
to obtain an augmented result.
Thus, alternatively:
A data frame inheriting from class predict.egf
, with variables:
top level nonlinear model parameter, from
egf_top(object)
.
time series, from
levels(model.frame(object)[["ts"]])
.
fitting window, from
levels(model.frame(object)[["window"]])
.
predicted value.
approximate delta method standard error (only if requested).
an egf
object.
a data frame containing variables to replace those in the model frame. The default is to use the model frame as is, and currently that is the only implemented behaviour.
a logical. If TRUE
,
then the value of the method call call is a predict.egf
object, not a matrix.
a logical. If TRUE
and if class = TRUE
,
then the result is augmented with approximate delta method
standard errors.
additional arguments passed from or to other methods.
The generic function predict
.