Hi all I need to deal with a number (say, 5) of diferent ordered matrices simultaneously in my computational work. I tried to define these matrices through looping, but got an error message:
row <- c(3,4,6,4,5) mt <- c() for (i in 1:5){ mt[i] <- matrix(nrow=row[i],ncol=4) } mt Kindly help Yours ajss ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.