dput_levels: return R instruction to create levels

Description Usage Arguments Value Examples

View source: R/levels_to_vec.R

Description

return R instruction to create levels

Usage

1

Arguments

vec

a factor or character vector

Value

a R instruction

Examples

1
dput_levels(iris$Species)

ThinkR-open/ThinkR documentation built on July 4, 2018, 12:17 p.m.