Re: [R] multidimensional lists

From: Evan Cooch <cooch17_at_verizon.net>
Date: Wed 27 Sep 2006 - 16:54:16 GMT

Gabor Grothendieck wrote:
> Try this:
>
> AA <- matrix(list(A, 10*A, 100*A, 1000*A), 2, byrow = TRUE)
> AA[1,2]
>

Seems to do the trick. Thanks!



R-help@stat.math.ethz.ch 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. Received on Thu Sep 28 03:18:59 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 27 Sep 2006 - 17:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.