Message-ID: <97924.84565.qm@web95108.mail.in2.yahoo.com>
Date: 2011-04-09T03:22:58Z
From: Amarjit Singh Sethi
Subject: How to define a number of matrices through loops
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