Learn R Programming

radiant.data (version 1.6.3)

level_list: Generate list of levels and unique values

Description

Generate list of levels and unique values

Usage

level_list(dataset, ...)

Arguments

dataset

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