View source: R/ols-all-possible-regression.R
ols_step_all_possible_betas | R Documentation |
Returns the coefficients for each variable from each model.
ols_step_all_possible_betas(object, ...)
object |
An object of class |
... |
Other arguments. |
ols_step_all_possible_betas
returns a data.frame
containing:
model_index |
model number |
predictor |
predictor |
beta_coef |
coefficient for the predictor |
## Not run:
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_step_all_possible_betas(model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.