nathaneastwood / poorman

A poor man's dependency free grammar of data manipulation
https://nathaneastwood.github.io/poorman/
Other
338 stars 15 forks source link

[FEAT] Add group_cols() #42

Closed nathaneastwood closed 4 years ago

nathaneastwood commented 4 years ago

Somehow got missed in #41.

This selection helpers matches grouping variables. It can be used in select() or vars() selections.

gdf <- iris %>% group_by(Species)
gdf %>% select(group_cols())