Saved in:
Bibliographic Details
Main Author: van der Loo, Mark P. J.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.09887
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914222267432960
author van der Loo, Mark P. J.
author_facet van der Loo, Mark P. J.
contents 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 \texttt{R} package \texttt{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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_09887
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Split-Apply-Combine with Dynamic Grouping
van der Loo, Mark P. J.
Computation
Applications
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 \texttt{R} package \texttt{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.
title Split-Apply-Combine with Dynamic Grouping
topic Computation
Applications
url https://arxiv.org/abs/2406.09887