View source: R/model_covariates.R
model_covariates | R Documentation |
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.
model_covariates(mod, plot_rows = 1, plot_vif = FALSE, ...)
mod |
Input model to assess. |
Output from tidy_vif and figures of dominance values.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.