You can use lists for this:

list(a, b)

On Tue, Oct 28, 2008 at 3:39 PM, Suyan Tian <[EMAIL PROTECTED]>wrote:

> 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
>
> ______________________________________________
> R-help@r-project.org 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to