Description Usage Arguments Value Examples
Group a data frame by the groupingVars and compute user summaries on this data frame (user summaries specified in ...). Enforces the good dplyr pipeline design principle of keeping group_by and mutate close together. Author: John Mount, Win-Vector LLC.
1 | group_mutate(d, groupingVars, ..., arrangeTerms = NULL, env = parent.frame())
|
d |
data.frame |
groupingVars |
character vector of column names to group by. |
... |
list of dplyr::mutate() expressions. |
arrangeTerms |
character optional vector of quoted column expressions to arrange by. |
env |
environment to work in. |
d mutateed by groups
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.