rrbind: Improved 'rbind' for intersecting/union columns of...

rrbindR Documentation

Improved rbind for intersecting/union columns of data.frames or data.tables

Description

Improved rbind for intersecting/union columns of data.frames or data.tables

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

Usage

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). (default = TRUE)

as.data.table

Return the binded data as a data.table. (default = FALSE)

Value

data.frame or data.table of the rbind operation

Author(s)

Marcin Imielinski


mskilab/gUtils documentation built on June 6, 2023, 12:08 a.m.