Description Usage Arguments Value
combineNamedTables takes a (named) list of data tables and
interprets each value in names(dts) as a constant value that should
be added as newCol for each observation in each element of dts.
That is, each table in dts gets a constant value for newCol.
That value is the key/name in the dts list that maps to the table.
The tables are then combined row-wise to create long data, but original
table identity is preserved in newCol.
1 | combineNamedTables(dts, newCol = "id")
|
dts |
Named list of data tables to combine. |
newCol |
Name for the new field to create in each table. |
Combined (long) data table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.