| group_cols | R Documentation |
This selection helper matches grouping variables. It can be used within select() and relocate() selections.
group_cols()
groups() and group_vars() for retrieving the grouping variables outside selection contexts.
mtcars %>% group_by(am, cyl) %>% select(group_cols())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.