On 21/06/2007 3:36 PM, Thomas Pujol wrote:
> I often need to "combine" data frames, sometimes "vertically" and other times 
> "horizontally".
> 
> When it "better" to use merge? When is it better to use rbind or cbind?
> 
> Are there clear pros and cons of each approach?

If rbind or cbind work, use them.  They are much simpler, but much less 
flexible.

Duncan Murdoch

______________________________________________
R-help@stat.math.ethz.ch 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