Description Usage Arguments Value Examples
Uncount a counted data table
1 | dt_uncount(dt_, weights, .remove = TRUE, .id = NULL)
|
dt_ |
the data table to uncount |
weights |
the counts for each |
.remove |
should the weights variable be removed? |
.id |
an optional new id variable, providing a unique id for each row |
A data.table with a row for each uncounted column.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.