Like rbind, but takes the intersecting columns of the data.

rrbind(..., union = TRUE, as.data.table = FALSE)

Arguments

...

Any number of data.frame or data.table objects

union

Take union of columns (and put NA's for columns of df1 not in df2 and vice versa). [TRUE]

as.data.table

Return the binded data as a data.table. [FALSE]

Value

data.frame or data.table of the rbind operation

Author

Marcin Imielinski