grouply | R Documentation |
grouply
grouply(f, ...)
f |
A function |
... |
A grouping variable |
mtcars %>% grouply(dplyr::mutate, cyl)(M = mean(wt))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.