Learn R Programming

thinkr (version 0.11)

dput_levels: return R instruction to create levels

Description

return R instruction to create levels

Usage

dput_levels(vec)

Arguments

vec

a factor or character vector

Value

a R instruction

Examples

Run this code
# NOT RUN {
dput_levels(iris$Species)

# }

Run the code above in your browser using DataLab