View source: R/classes_methods.r
predict | R Documentation |
Returns the prediction(s) of a linear model of class 'mvgls'.
## S3 method for class 'mvgls'
predict(object, newdata, ...)
object |
an object of class 'mvgls' obtained from a |
newdata |
a dataframe with new observation(s). The column names must match the names of the predictors in the model fit object. The type (e.g. factors, numeric) must also match the type of the predictors in the model fit object. Note: the fitted values are simply returned if "newdata" is not provided. |
... |
further arguments for this generic function. For models fit by |
A matrix with the predictions for the linear model fitted by mvgls
or mvols
.
J. Clavel
fitted.mvgls
vcov.mvgls
residuals.mvgls
coef.mvgls
mvgls
mvols
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.