rowwise_table {mlr3misc} | R Documentation |
Row-Wise Constructor for 'data.table'
Description
Similar to the tibble function tribble()
, this function
allows to construct tabular data in a row-wise fashion.
The first arguments passed as formula will be interpreted as column names. The remaining arguments will be put into the resulting table.
Usage
rowwise_table(..., .key = NULL)
Arguments
... |
( |
.key |
( |
Value
Examples
rowwise_table(
~a, ~b,
1, "a",
2, "b"
)
[Package mlr3misc version 0.15.1 Index]