Closed DesiQuintans closed 1 year ago
Factorising from a dictionary potentially creates hundreds of unused levels, and it's often useful to drop those. Rather than adding an argument to drop unused levels, just add advice about base::droplevels() to the function documentation.
base::droplevels()
Factorising from a dictionary potentially creates hundreds of unused levels, and it's often useful to drop those. Rather than adding an argument to drop unused levels, just add advice about
base::droplevels()
to the function documentation.