npelVIF: Compute the variable inflation factor of the terms in a...

Description Usage Arguments Details Value Examples

Description

Given an input dataset, this function generates the VIF for each predictor variable. It gives considerably more output than the typical VIF function—see details.

Usage

1

Arguments

fx

a formula for which to test the VIF

data

a data frame with columns corresponding to the formula

Details

The function returns a named list of several details from the computation of the VIF scores :

Value

a list with the following elements: list (vif, rSquared, est, stdErr, t.value, p.value). See Details

Examples

1
2
data (siteData)
npelVIF(formula('Ecotype ~ brtns+grnns+wetns+dem+slp+asp+hsd'),siteData)

henkelstone/NPEL.Classification documentation built on May 17, 2019, 3:42 p.m.