R/xp_xtras.R
val2lvl.Rd
This is intended to be used as a convenience function in plotting where levels are set for some variable.
val2lvl(vals, lvl_tbl = NULL)
vector of values associated with levels in lvl_tbl
lvl_tbl
tibble of levels
A vector of levels corresponding to the input vector.