powered by
Similar to the tibble function tribble(), this function allows to construct tabular data in a row-wise fashion.
tribble()
The first arguments passed as formula will be interpreted as column names. The remaining arguments will be put into the resulting table.
rowwise_table(...)
:: any Arguments: Column names in first rows as formulas (with empty left hand side), then the tabular data in the following rows.
any
data.table::data.table().
data.table::data.table()
# NOT RUN { rowwise_table( ~a, ~b, 1, "a", 2, "b" ) # }
Run the code above in your browser using DataLab