model_predictions: Predict output of fitted models and return as a matrix
Description
Predict output of fitted models and return as a matrix
Usage
model_predictions(model_tbl, new_data, type = "response")
Arguments
model_tbl
A tibble of model objects, generally output of
fit_models
.
new_data
A data frame of new data to be passed to predict for
prediction.
type
String of type to pass to predict. Default is "response".