The shape of the source item.
How to determine which group each item belongs to.
The primary numeric value to sum (used later for Pareto ranking).
OptionalmetricsAdditional named numeric metrics to sum per group. Each entry becomes a key on RollupEntry.metrics.
OptionalprecisionDecimal places for the rounded average. Defaults to 4.
Options for rollup.