Learn R Programming

radiant.data (version 0.6.0)

level_list: Generate list of levels and unique values

Description

Generate list of levels and unique values

Usage

level_list(dat, ...)

Arguments

dat
A data.frame
...
Unquoted variable names to evaluate

Examples

Run this code
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