Dear All,
Lets
suppose we have the following list:
list(matrix(rnorm(6,3,2),ncol=2),matrix(rnorm(8,3,2),ncol=2),matrix(rnorm(12,3,2),ncol=2))
[[1]]:
[,1] [,2]
[1,] 3.276729 -1.054961
[2,] 6.143453 2.661098
[3,] 3.952712 5.311158
[[2]]:
[,1] [,2]
[1,] 2.575617 2.513717
[2,] 1.657351 2.806912
[3,] 3.134966 3.357252
[4,] 3.832333 7.657893
[[3]]:
[,1] [,2]
[1,] 4.171555 1.67055950
[2,] -1.763487 1.42753060
[3,] 4.552255 2.78249251
[4,] -3.206052 0.49597245
[5,] -1.742525 4.01679075
[6,] 2.486436 0.05678951
What is the most efficient way to combine these three
elements into one matrix with two columns and 13 rows? Is there a simple and
effective solution to this? My solution is quite complicated for the small
problem at hand so I would appreciate any input J
Thanks for your attention!
**************************************************************************************
Steve Su (s.su@qut.edu.au)
PhD student.
School of Accountancy
School of Mathematical Sciences
Queensland University of Technology
Postal Address: Steve Su, School of Accountancy, QUT, PO Box 2434, Brisbane,
Queensland, Australia, 4000.
Phone: +61 7 3864 2017
Fax: +61 7 3864 1812
Mobile: 0421 840
586
.
_--_|\
/
QUT
\_.--._/
v
**************************************************************************************