bloom: Compute aggregate functions on subsets of a dataset

Description Usage Arguments

Description

Creates subsets of a dataset and then applies aggregate functions over it, while retaining knowledge of which filtering conditions were applied.

Usage

1
bloom(datatable, cols, retain_all = TRUE, fn)

Arguments

datatable

a data.table object

cols

columns to group by and retain after aggregation

retain_all

hold back an 'All' option for each col supplied in cols

fn

a function taking a datatable that returns


bweiher/bloom documentation built on May 23, 2019, 8:38 a.m.