[R] Transpose array
MarcioRibeiro
mestat at pop.com.br
Tue Feb 24 17:49:41 CET 2009
Hi Listers,
Is there a way that I can transpose an array...
Suppose I have the following array...
x<-array(c(1,2,3,4),dim=c(1,2,2))
, , 1
[,1] [,2]
[1,] 1 2
, , 2
[,1] [,2]
[1,] 3 4
And I would like to get the following result...
, , 1
[,1]
[1,] 1
[,2] 2
, , 2
[,1] [,2]
[1,] 3
[,2] 4
Thanks in advance,
Marcio
--
View this message in context: http://www.nabble.com/Transpose-array-tp22184286p22184286.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list