Description Usage Arguments Value See Also Examples
View source: R/add_model_predictions.R View source: R/add_model_predictions.R
Add predictions to the data set. A dplyr compatible way to add predictions to a data set.
1 | add_model_predictions(model = NULL, old_data = NULL, new_data = NULL)
|
model |
A model object from 'fit_model' |
old_data |
The data set to which predicted values will be added. |
new_data |
The data set to use for predicting. |
A data.frame object with a new column for predicted values
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.