I am using R and my function has following lines of code:
pd <- Posdef(10, ev=1:10)
spd <- Symm(pd)
mu1 <- c(1:10)
data = MASS:::mvnorm(1000,mu1,spd)
But I am getting the error:
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) (from func1.R@11#7) :
object 'mvnorm' not found