group_vars | R Documentation |
Get the grouping variables
group_vars(x)
x |
A grouped tidytable |
df <- data.table(
a = 1:3,
b = 4:6,
c = c("a", "a", "b"),
d = c("a", "a", "b")
)
df %>%
group_by(c, d) %>%
group_vars()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.