Displaying 1 result from an estimated 1 matches for "simu22".
Did you mean:
simu2
2010 Apr 13
0
Error using reshape method
...ix(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,simu22)
new.data.all<-rbind(data.all)
data.all<-rbind(data.all)
data.frame(data.all)
Y<-cbind(data.all[,1], data.all[,2], data.all[,3], data.all[,4])
rmlong.data<-reshape...