predict.modelfamily: This specifies what to do when predict is called on an object...

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
## S3 method for class 'modelfamily'
predict(mod, new_data)

Arguments

mod

The model famil object. This model family must be fitted.

newdata

The new data you want to predict values for.

Value

The predicted values for the new_data passed in.

Examples

1
mod_family_predicts <- predict(fitted_model_fam, new_data)

emilyklisa/mli documentation built on May 25, 2019, 5:21 p.m.