[R] How to combine matrices?

Henrique Dallazuanna wwwhsd at gmail.com
Tue Sep 22 18:43:40 CEST 2009


abc <- rbind(a, b, c)

On Tue, Sep 22, 2009 at 1:40 PM, FMH <kagba2006 at yahoo.com> wrote:
> Dear All,
>
> Let a, b and c are three matrices with same no. of column but different no. of row.
>
> a <- matrix(1, 1, 2)
> b <- matrix(2, 2, 2)
> c <- matrix(3, 3, 2)
>
> Could someone help me to combine these matrices together as a single matrix?
>
> Thank you
> Fir
>
>
>
>
> ______________________________________________
> 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.
>



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




More information about the R-help mailing list