splitDataTable | R Documentation |
Splits a data.table object into a list of data.tables based on an individual column. Returns a list of data.tables if column to split is present, otherwise returns NULL.
splitDataTable(DT, split_factor)
DT |
A data.table object. |
split_factor |
A column name in DT to use as a factor to split and name list elements. Can be a character vector or an integer. |
A list of data.tables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.