Description Usage Arguments Value Examples
Aggregates a data.table
1 2 |
dt |
A data.table object |
metric |
A vector of numeric variable(s) to aggregate |
metric_name |
A vector of variable name(s) for the numeric variable(s) to aggregate. Defaults to metric. |
dimension |
A vector of dimension variable(s) to aggregate by |
agg_fn |
An aggregation function |
na.rm |
logical. Should missing values (including NaN) be removed? |
Returns a data.table
1 2 3 4 | ## Not run:
to follow
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.