[R] How to combine matrices?
Daniel Malter
daniel at umd.edu
Tue Sep 22 18:48:30 CEST 2009
is rbind(a,b,c) what you mean?
Daniel
-------------------------
cuncta stricte discussurus
-------------------------
-----Ursprüngliche Nachricht-----
Von: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Im
Auftrag von FMH
Gesendet: Tuesday, September 22, 2009 12:40 PM
An: r-help at r-project.org
Betreff: [R] How to combine matrices?
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.
More information about the R-help
mailing list