[R] abind

Suyan Tian stian at mail.rockefeller.edu
Tue Oct 28 18:39:45 CET 2008


I am trying to combine two arrays with different dimensions into one.  
For example

The first one is
1  2  3
4  5  6

The second one is
7 8
9 10

The resulted one would be like
, , 1
1 2 3
4 5 6
, , 2
7 8
9 10

I used abind to do this, but failed. Could somebody please let me  
know how to do this in R? Thanks so many.


Suyan



More information about the R-help mailing list