Description Usage Arguments Value See Also Examples
wrapper for f_predict_regression_add_predictions
1 |
grid |
grid containing all variables used for the model |
m |
model |
var |
character vector denoting response variable |
grid
1 2 3 4 5 | data_ls = f_clean_data(mtcars)
formula = disp~hp+mpg
m = lm(formula, data_ls$data)
grid = f_model_data_grid(data_ls, formula, 'hp', 10) %>%
f_model_add_predictions_2_grid_regression( m, 'disp')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.