Purpose
I was trying to use vif()
function from the car
package of R.
Initial Error Messages
When I first executed vif(X)
, an error message popped up as:
Error in vif(mod1) : could not find function "vif"
I tried library(car)
and get a following error as:
Error: package or namespace load failed for ‘car’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘stringi’
References
I read and tried the following references until I solved the problem: