markvanderloo / accumulate

split-apply-combine with optional collapsing groups

Repository from Github https://github.commarkvanderloo/accumulateRepository from Github https://github.commarkvanderloo/accumulate

CRAN Downloads status

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.

About

split-apply-combine with optional collapsing groups


Languages

Language:BibTeX Style 34.3%Language:R 33.9%Language:TeX 29.8%Language:Makefile 1.5%Language:CSS 0.5%