powered by
Return grouping variables
get_groups(x)
A data.frame.
data.frame
A character vector of group names.
# NOT RUN { df <- mtcars %>% group_by(am, cyl) get_groups(df) # }
Run the code above in your browser using DataLab