Get grouping variable names
Usage
# S3 method for class 'grouped_tidymatrix'
group_vars(x)Examples
library(dplyr, warn.conflicts = FALSE)
tm <- tidymatrix(big5_responses, big5_respondents, big5_items)
tm |>
activate(rows) |>
group_by(country, gender) |>
group_vars()
#> [1] "country" "gender"