group_by_se: group_by standard interface.

Description Usage Arguments Value See Also Examples

View source: R/group_by_se.R

Description

Group a data frame by the groupingVars. group_by_se intentionally groups only by sets of variables, not by expressions over variables.

Usage

1
group_by_se(.data, groupingVars, add = FALSE)

Arguments

.data

data.frame

groupingVars

character vector of column names to group by.

add

logical, passed to group_by

Value

.data grouped by columns named in groupingVars

See Also

group_by, group_by_at

Examples

1
2
3
datasets::mtcars %.>%
  group_by_se(., c("cyl", "gear")) %.>%
  head(.)

seplyr documentation built on Sept. 5, 2021, 5:12 p.m.