Skip to content
Prev 4782 / 398506 Next

Merging data.frames

Mark Lamias wrote:

            
Unfortunately it does not help. I need to concatenate the records vertically, not
horizontally. Each data.frame has the same variables. One data.frame may have 10
records and the other has 20 records. I want a new data.frame with all 30 records.
If these were matrices I would use rbind. Unfortunately rbind does not work nicely
with data.frames.

Rick Bilonick

--
Statistical Consulting for Business & Industry
mailto:rab at nauticom.net
efax:  508 445 5821
voice: 412 831 4509



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._