1
Return

Split-Apply-Combine with Dynamic Grouping

delete2025-01-01
delete0
delete
OA
AI
V
van der Loo, Mark P. J. *
DOI:10.18637/jss.v112.i04delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Partitioning a data set by one or more of its attributes and computing an aggregate for each part is one of the most common operations in data analyses. There are use cases where the partitioning is determined dynamically by collapsing smaller subsets into larger ones, to ensure sufficient support for the computed aggregate. These use cases are not supported by software implementing split-apply-combine types of operations. This paper presents the R package accumulate that offers convenient interfaces for defining grouped aggregation where the grouping itself is dynamically determined, based on user-defined conditions on subsets, and a user-defined subset collapsing scheme. The formal underlying algorithm is described and analyzed as well.
Keywords:
data analysis
estimation
aggregation
R.

Journal

Journal of Statistical Software cover
Journal of Statistical Software
IF:
8.1
Papers:
616
Citations:
4.6W

Organization

S
stat netherlands
Scholars:
2
Papers: 2
Citations: 0
Cited Papers

Cited Papers

Citing Papers

Citing Papers