accumulate

Split-apply-combine aggregation with dynamic grouping.

The packages implements grouped aggregation, but rather than having static groups like in stats::aggregate() or dplyr::group_by() it is possible to change the grouping according to a user-defined scheme. For example, one may demand that groups contain at least n records, and collapse certain groups together if this is not the case.

Installing

The latest CRAN release can be installed as usual

install.packages("accumulate")

The git version can be installed by cloning the repo and using make.

git clone https://github.com/markvanderloo/accumulate
cd accumulate
make install

No guarantees that it will actually build, install, or give correct results. (This is after all the place where development takes place).

Example

See the introductory vignette.

Licence

This software is released under EUPL.