model_covariates: model_covariates

View source: R/model_covariates.R

model_covariatesR Documentation

model_covariates

Description

Uses both tidy_vif and dominance to assessment model covariates. Shorthand for plotting dominance values and variable ranks, while also printing variance inflation factor scores.

Usage

model_covariates(mod, plot_rows = 1, plot_vif = FALSE, ...)

Arguments

mod

Input model to assess.

Value

Output from tidy_vif and figures of dominance values.

Examples

## Not run: 

  mtcars |>
    lm(mpg ~ cyl + disp + hp + wt,
       data = _) |>
    model_covariates(plot_rows = 2,
                     plot_vif = TRUE,
                     n_boot = 500,
                     method = "car")


## End(Not run)

toddellis/miao documentation built on June 1, 2025, 10:11 p.m.