ols_step_all_possible_betas: All possible regression variable coefficients

Description Usage Arguments Value Examples

Description

Returns the coefficients for each variable from each model.

Usage

1

Arguments

object

An object of class lm.

...

Other arguments.

Value

ols_step_all_possible_betas returns a tibble containing:

model_index

model number

predictor

predictor

beta_coef

coefficient for the predictor

Examples

1
2
3
4
5
## Not run: 
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_step_all_possible_betas(model)

## End(Not run)

cmlopera/olsrr documentation built on May 26, 2019, 10:34 a.m.