Displaying 1 result from an estimated 1 matches for "tp4640465p4640482".
2012 Aug 16
4
Column Extraction from matrix
Hi all,
I have a 4 by 100 matrix. I wish to extract each column and make it into a 2
by 2 matrix.
I also want to assign names for each 2X2 matrix.
For example
set.seed(2)
a=matrix(rnorm(400),ncol=100)
a1=matrix(a[,1],ncol=2)
a2=matrix(a[,2],ncol=2)
.
.
.
a100=matrix(a[,100],ncol=2)
Any simple ideas. Thanks.
B
--
View this message in context: