View source: R/DImulti_predict.R
predict.DImulti | R Documentation |
Predict from a multivariate repeated measures DI model
## S3 method for class 'DImulti'
predict(object, newdata = NULL, stacked = TRUE, ...)
object |
an object of class DImulti |
newdata |
an optional dataframe containing the communities from which to predict. If data is
multivariate and in a wide format, to predict from a subset of ecosystem functions, as opposed
to all, please include a column for each function with any numerical value, e.g.
|
stacked |
a logical value used to determine whether the output is in a wide or stacked
format. Defaults to TRUE, meaning output is stacked/long. |
... |
some methods for this generic function require additional arguments. None are used in this method. |
The predictions from the supplied fitted DI models for the provided 'newdata', or the data used to fit the model if no 'newdata' is supplied. Predictions are returned in either a stacked or wide dataframe format.
predict.gls
which this function wraps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.