Returns the coefficients for each variable from each model.
ols_all_subset_betas(object, ...)
object | An object of class |
---|---|
... | Other arguments. |
ols_all_subset_betas
returns a tibble containing:
model number
predictor
coefficient for the predictor
# NOT RUN { model <- lm(mpg ~ disp + hp + wt, data = mtcars) ols_all_subset_betas(model) # }