[R] Data in Array

Schalk Heunis schalk.heunis at enerweb.co.za
Tue Sep 8 12:16:29 CEST 2009


have you tried rbind?


On Tue, Sep 8, 2009 at 11:16 AM, FMH<kagba2006 at yahoo.com> wrote:
> Dear All,
>
> I have some data which were stored in few  matrices with different orders. Let have three different matrices a, b and c, which have the same number of column but different number of row.
>
>
> a <- matrix(1, nrow = 5, ncol = 1)
> b <- matrix(2, nrow = 10, ncol = 1)
> c <- matrix(3, nrow = 15, ncol = 1)
>
> How could i put all these matrices in an array?
>
> Thank you
> Kagba
>
>
>
>
> ______________________________________________
> R-help at 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.
>




More information about the R-help mailing list