Skip to content
Prev 5698 / 398506 Next

How do you combine smaller tables into a larger one

rbind(TableOne,TableTwo)

(you can extend this to rbind(TableOne,TableTwo,TableThree,...))
At least in this context, there doesn't seem to be anything "natural" or
preferred about cbind(TableOne,TableTwo).  I guess what you mean is that
if you want do this with c() you have to do something like

matrix(c(t(a1),t(a2)),ncol=4,byrow=TRUE)

which is admittedly pretty clumsy.
On Tue, 16 May 2000, Art Salwin wrote: