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