powered by
Generate list of levels and unique values
level_list(dataset, ...)
A data.frame
Unquoted variable names to evaluate
data.frame(a = c(rep("a",5),rep("b",5)), b = c(rep(1,5),6:10)) %>% level_list level_list(mtcars, mpg, cyl)
Run the code above in your browser using DataLab