mergeRows

0th

Percentile

Function to Merge Rows of Two Data Frames.

This function merges two data frames by combining their rows.

Keywords
manip
Usage
mergeRows(X, Y, common.only = FALSE, ...)

## S3 method for class 'data.frame':
mergeRows(X, Y, common.only = FALSE, ...)
Arguments
X
First data frame.
Y
Second data frame.
common.only
If TRUE, only variables (columns) common to the two data frame are included in the merged data set; the default is FALSE.
...
Not used.
Value

  • A data frame containing the rows from both input data frames.

See Also

For column merges and more complex merges, see merge.

Aliases
  • mergeRows
  • mergeRows.data.frame
Examples
require(car)
D1 <- Duncan[1:20,]
D2 <- Duncan[21:45,]
D <- mergeRows(D1, D2)
dim(D)
Documentation reproduced from package Rcmdr, version 1.6-2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.