Learn R Programming

mlr3misc (version 0.3.0)

rcbind: Bind Columns by Reference

Description

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

Usage

rcbind(x, y)

Arguments

Value

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

Examples

Run this code
# NOT RUN {
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