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