Skip to contents

Get the position numbers of the coefficients

Usage

get_coef_positions(x)

Arguments

x

A logistic regression model.

Value

Positions of each coefficient.

Examples

get_coef_positions(lr_caused)
#>                    Coefficients Position
#> (Intercept)          -0.3511784        1
#> jur_race_wBlack       0.4685659        2
#> jur_race_wHispanic    0.5768085        3
#> jur_race_wAsian       0.4404095        4
#> jur_race_wOther       0.2393870        5