group_cols {poorman}R Documentation

Select Grouping Variables

Description

This selection helper matches grouping variables. It can be used within select() and relocate() selections.

Usage

group_cols()

See Also

groups() and group_vars() for retrieving the grouping variables outside selection contexts.

Examples

mtcars %>% group_by(am, cyl) %>% select(group_cols())


[Package poorman version 0.2.7 Index]