collinearity: Calculate measures of collinearity

Description Usage Arguments Examples

Description

Calculate measures of collinearity

Usage

1
collinearity(formula, data, format = c("SeIF", "degrees", "radians", "VIF"))

Arguments

formula

a formula giving, on the right-hand side, the explanatory variables to be considered. Iteractions, etc. may also be specified.

data

a data frame from which to draw the variables in the formula

format

choice of "SeIF" for inflation of standard errors, "degrees" or "radians" for collinearity described as an angle or "VIF" for the variance inflation factor (which is the square of SeIF).

Examples

1
2
collinearity( ~ cyl * disp * hp, data = mtcars)
collinearity( ~ cyl * disp * hp, data = mtcars, format = "degrees")

dtkaplan/gghelper documentation built on May 15, 2019, 5 p.m.