powered by
Calculate the variance inflation factor (VIF) of the eigenvectors in the spatial filter.
vif.ev(x = NULL, evecs, na.rm = TRUE)
Returns a vector containing the VIF for each eigenvector.
vector/ matrix of regressors (default = NULL)
(selected) eigenvectors
remove missing values in covariates (TRUE/ FALSE)
Sebastian Juhl
lmFilter, getEVs
lmFilter
getEVs
data(fakedata) E <- getEVs(W = W, covars = NULL)$vectors (VIF <- vif.ev(x = fakedataset$x1, evecs = E[, 1:10]))
Run the code above in your browser using DataLab