Setting the traits of the levels
Arguments
- value
A vector of the level values.
- n
The number of replicate (if applicable).
- data
A list or data frame of the same size as the
levels
.- ...
Name-value pair denoting other level attributes. The value should be the same length as
levels
or a single value.
Examples
lvls(c("A", "B"))
#> <edbl_lvls[2]>
#> [1] A B