All possible regression variable coefficients
Source:R/ols-all-possible-regression.R
ols_step_all_possible_betas.Rd
Returns the coefficients for each variable from each model.
Value
ols_step_all_possible_betas
returns a data.frame
containing:
- model_index
model number
- predictor
predictor
- beta_coef
coefficient for the predictor
Examples
if (FALSE) { # \dontrun{
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_step_all_possible_betas(model)
} # }