powered by
Returns the coefficients for each variable from each model.
ols_step_all_possible_betas(object, ...)
ols_step_all_possible_betas returns a data.frame containing:
ols_step_all_possible_betas
data.frame
model number
predictor
coefficient for the predictor
An object of class lm.
lm
Other arguments.
if (FALSE) { model <- lm(mpg ~ disp + hp + wt, data = mtcars) ols_step_all_possible_betas(model) }
Run the code above in your browser using DataLab