predict.aldvmm | R Documentation |
The method predict.aldvmm
for the generic function
predict
calls
aldvmm.pred
and aldvmm.sefit
to
predict outcomes and their standard errors in new data.
## S3 method for class 'aldvmm'
predict(
object,
newdata = NULL,
se.fit = FALSE,
type = "pred",
level = 0.95,
...
)
object |
an object inheriting from class 'aldvmm'. |
newdata |
a data frame, list or environment (or object coercible to a
data frame by |
se.fit |
an optional logical value indicating whether standard errors
of fitted values are calculated. The default value is |
type |
a character value of either 'fit' or 'pred' indicating whether the standard error of the fit ('fit') or the standard error of predictions in new data ('pred') are calculated. |
level |
a numeric value of the significance level for confidence bands of fitted values. The default value is 0.95. |
... |
further arguments passed to or from other methods. |
a named list of numeric vectors of predicted outcomes, standard errors and confidence or prediction intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.