powered by
run model with other variables from the data
what_next(model = NULL, data = NULL, verbose = FALSE, r2_diff = TRUE)
data.frame mapping variables' to the respective model's statistics.
data.frame
Model object
data.frame containing data for analysis
A boolean to specify whether to print warnings
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.
run_model( data = mtcars, dv = 'mpg', ivs = c('disp', 'cyl') ) %>% what_next()
Run the code above in your browser using DataLab