maybe its not an array

like
m[1]=matrix(1:4,2,2)
m[2]=matrix(1:9,3,3)
.
.
.
m[k]=matrix(1:k^2,k,k)

likes

for (k in 1:n){
  s=matrix(1:k^2,k,k)
}

how to store s like s[1], s[2] ....... so that I can use it in other place?

thanks!

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to