Splits a data.table according to a number of its columns.
1 | split_by_cols(dt, cols)
|
dt |
data.table to split |
cols |
column names to split by Returns a list with attribute "values" containing the
unique combination of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.