vaggregate: 'stats::aggregate', but returns vector

vaggregateR Documentation

stats::aggregate, but returns vector

Description

Same as stats::aggregate except returns named vector with names as first column of output and values as second

Note: there is no need to ever use aggregate or vaggregate, just switch to data.table

Usage

vaggregate(...)

Arguments

...

arguments to aggregate

Value

named vector indexed by levels of "by"

Author(s)

Marcin Imielinski


mskilab/gTrack documentation built on Aug. 17, 2024, 6:10 a.m.