The error that keeps popping up --
library(MVN)
Error: package or namespace load failed for ‘MVN’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘zip’
I have re-installed the program thrice. I always install the haven package first then the MVN.
hi I was able to install zip but now it says --
library (MVN)
MVN (OBJ1, mvnTest = "hz", covariance = TRUE)
Error in MVN(OBJ1, mvnTest = "hz", covariance = TRUE) :
could not find function "MVN"
Would you know if I'm typing something wrong?
MVN package has a function mvn
Thanks! It works when I type mvn instead of MVN.