group_by_se | R Documentation |
Group a data frame by the groupingVars. group_by_se intentionally groups only by sets of variables, not by expressions over variables.
group_by_se(.data, groupingVars, add = FALSE)
.data |
data.frame |
groupingVars |
character vector of column names to group by. |
add |
logical, passed to group_by |
.data grouped by columns named in groupingVars
group_by
, group_by_at
datasets::mtcars %.>% group_by_se(., c("cyl", "gear")) %.>% head(.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.