Can't use the MVN package

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.

Try installing zip first

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.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.