gvif: 'gvif': Get GVIF for each variable

Description Usage Arguments Value

View source: R/utils.R

Description

Get generalized variance inflation factor (GVIF) for each variable. See Fox (1992) doi: 10.1080/01621459.1992.10475190 for more details on how to calculate GVIF.

Usage

1
gvif(mod, family)

Arguments

mod

A model object with at least two explanatory variables

family

A description of the error distribution and link function to be used in the model. It can take the value of \code{gaussian}, \code{binomial}, \code{poisson}, and \code{cox}.

Value

A vector of GVIF for each variable in the model


zuoyi93/ProSGPV documentation built on Aug. 31, 2021, 1:22 a.m.