mergeRows {Rcmdr} | R Documentation |
This function merges two data frames by combining their rows.
mergeRows(X, Y, common.only = FALSE, ...) ## S3 method for class 'data.frame' mergeRows(X, Y, common.only = FALSE, ...)
X |
First data frame. |
Y |
Second data frame. |
common.only |
If |
... |
Not used. |
A data frame containing the rows from both input data frames.
John Fox
For column merges and more complex merges, see merge
.
require(car) D1 <- Duncan[1:20,] D2 <- Duncan[21:45,] D <- mergeRows(D1, D2) dim(D)