vif: Compute Variance Inflation Factors for an unmarkedFit Object.

View source: R/vif.R

vifR Documentation

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)

Arguments

mod

An unmarked fit object.

type

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

Value

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


unmarked documentation built on Sept. 11, 2024, 8:28 p.m.