Skip to contents

Performs base::cbind() on data.tables, possibly by reference.

Usage

rcbind(x, y)

Value

(data.table::data.table()): Updated x .

Examples

x = data.table::data.table(a = 1:3, b = 3:1)
y = data.table::data.table(c = runif(3))
rcbind(x, y)
#>        a     b         c
#>    <int> <int>     <num>
#> 1:     1     3 0.5844753
#> 2:     2     2 0.6339764
#> 3:     3     1 0.8586662