Skip to content
Prev 16237 / 20628 Next

variance inflation factor

Hi Ben,
Yes, I know that, but it prevents the default method for car::vif() from working because cov2cor() checks for a matrix:
Error in cov2cor(v) : 'V' is not a square numeric matrix
In addition: Warning message:
In vif.default(mod) :
Error in cov2cor(v) : 'V' is not a square numeric matrix  

It should be easy to get around this -- I'll probably just create a local, unexported version of cov2cor() in the car package, something like

cov2cor <- function(V) stats::cov2cor(as.matrix(V))

Best,
 John