powered by
A pipe-friendly wrapper of aggregate when using formula as input.
aggregate
do_aggregate(x, ...)
an R object
other parameters passed to aggregate
Results from aggregate
# NOT RUN { library(magrittr) data(ToothGrowth) ToothGrowth %>% do_aggregate(len ~ ., mean) # }
Run the code above in your browser using DataLab