Description Usage Arguments Value Examples
This specifies what to do when predict is called on an object of class "modelfamily". This will call the function predictmodelfamily on the fitted model family with it's corresponding parameters to predict the values for the new data using the best model in the fitted model family.
1 2 | ## S3 method for class 'modelfamily'
predict(mod, new_data)
|
mod |
The model famil object. This model family must be fitted. |
newdata |
The new data you want to predict values for. |
The predicted values for the new_data passed in.
1 | mod_family_predicts <- predict(fitted_model_fam, new_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.