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")

mosaicModel documentation built on May 2, 2019, 7:59 a.m.