powered by
Changes categorical variables in a data.table to levels with a sensible reference level
relevel_heims(DT)
A data.table post decode_heims.
data.table
decode_heims
The same data.table with character vectors changed to factors whose first level is the level intended.