rowwise_table

0th

Percentile

Row-Wise Constructor for 'data.table'

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(...)
Arguments
...

:: any Arguments: Column names in first rows as formulas (with empty left hand side), then the tabular data in the following rows.

Value

data.table::data.table().

Aliases
  • rowwise_table
Examples
# NOT RUN {
rowwise_table(
  ~a, ~b,
  1, "a",
  2, "b"
)
# }
Documentation reproduced from package mlr3misc, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.