rowwiseDT | R Documentation |
rowwiseDT
creates a data.table
object by specifying a row-by-row layout. This is convenient and highly readable for small tables.
rowwiseDT(...)
... |
Arguments that define the structure of a |
A data.table
. The default is for each column to return as a vector. However, if any entry has a length that is not one (e.g., list(1, 2)
), the whole column will be converted to a list column.
data.table
rowwiseDT(
A=,B=, C=,
1, "a",2:3,
2, "b",list(5)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.