mlr3misc (version 0.15.0)

rcbind: Bind Columns by Reference

Description

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

Usage

rcbind(x, y)

Value

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

Examples

Run this code
x = data.table::data.table(a = 1:3, b = 3:1)
y = data.table::data.table(c = runif(3))
rcbind(x, y)

Run the code above in your browser using DataLab