check_vif {regrrr}R Documentation

quickly check the vifs in a regression model; for checking multi-collinearity

Description

quickly check the vifs in a regression model; for checking multi-collinearity

Usage

check_vif(data)

Arguments

data

a data.frame used in regression model

Examples

data(mtcars)
model <- lm(mpg ~ vs + carb + hp + wt + wt * hp , data = mtcars)
check_vif(data = model$model)


[Package regrrr version 0.1.3 Index]