View source: R/model_next_step.R
what_next | R Documentation |
run model with other variables from the data
what_next(model = NULL, data = NULL, verbose = FALSE, r2_diff = TRUE)
model |
Model object |
data |
|
verbose |
A boolean to specify whether to print warnings |
r2_diff |
A boolean to determine whether to add a column to compare new and original model R2 |
Run a separate model for each numeric variable in the data provided. Then, for each model run, return that model's fit and the variables' statistics.
data.frame
mapping variables' to the respective model's statistics.
run_model( data = mtcars, dv = 'mpg', ivs = c('disp', 'cyl') ) %>% what_next()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.