do_aggregate | R Documentation |
A pipe-friendly wrapper of aggregate
when using formula as input.
do_aggregate(x, ...)
x |
an R object |
... |
other parameters passed to |
Results from aggregate
aggregate
library(magrittr)
data(ToothGrowth)
ToothGrowth %>%
do_aggregate(len ~ ., mean)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.