do_aggregate {dipsaus} | R Documentation |
Make aggregate pipe-friendly
Description
A pipe-friendly wrapper of aggregate
when using formula as input.
Usage
do_aggregate(x, ...)
Arguments
x |
an R object |
... |
other parameters passed to |
Value
Results from aggregate
See Also
Examples
library(magrittr)
data(ToothGrowth)
ToothGrowth %>%
do_aggregate(len ~ ., mean)
[Package dipsaus version 0.2.9 Index]