Learn R Programming

unmarked (version 1.4.3)

vif: Compute Variance Inflation Factors for an unmarkedFit Object.

Description

Compute the variance inflation factors (VIFs) for covariates in one level of the model (i.e., occupancy or detection). Calculation of VIFs follows the approach of function vif in package car, using the correlation matrix of fitted model parameters.

Usage

vif(mod, type)

Value

A named vector of variance inflation factor values for each covariate.

Arguments

mod

An unmarked fit object.

type

Level of the model for which to calculate VIFs (for example, 'state')