Skip to content

Creating subsets with factors

1 message · Liaw, Andy

#
[snipped...]
More often than I'd like, I have to combine several related data frames
together.  The following showed that the rbind method for data frames does
do a reasonable job:

# Suppose dat1 and dat2 are two data frames with same variables.
[1] "dat1" "dat2"
[more snipped...]

Andy

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._