bike_get_mod_preds: Generate model predictions from a model

View source: R/helper_funcs.R

bike_get_mod_predsR Documentation

Generate model predictions from a model

Description

Generate model predictions from a model

Usage

bike_get_mod_preds(mod, mod_name, test_df, pred_mat_func = NULL)

Arguments

mod

Mode, fed to predict

mod_name

model name for storage

test_df

data frame of test data

pred_mat_func

function to convert from test_df into prediction matrix for mod

Value

the test dataframe with predictions and residuals rbind-ed in


sol-eng/bikeHelpR documentation built on May 25, 2022, 2:48 a.m.