Displaying 1 result from an estimated 1 matches for "selectlow2".
Did you mean:
selectlow
2010 Apr 13
0
Error using reshape method
...] <- t(corrmat)[selectlow]
sigma<- diag(stdev) %*% corrmat %*% diag(stdev)
simu1<-rmnorm(n=ss, Sigma=sigma, mu=mu, d=dims, rho=co)
simu11<-cbind(simu1,data.grp=1)
#2nd set
corrmat2 <- matrix(1, dims, dims)
corrmat2[upper.tri(corrmat2)]<-co
selectlow2 <- lower.tri(corrmat2)
corrmat2[selectlow2] <- t(corrmat2)[selectlow2]
sigma2<- diag(stdev) %*% corrmat2 %*% diag(stdev)
simu2<-rmnorm(n=ss, Sigma=sigma2, mu=mu2, d=dims, rho=co)
simu22<-cbind( simu2,data.grp=2)
data.all<-rbind(simu11,sim...