
Last chance! 50% off unlimited learning
Sale ends in
Cleaning categorical variable descriptions before presenting.
clean_description(x)
a string
(character
)
vector with categories descriptions.
clean_description("Level A (other text)")
clean_description("A long string that should be shortened")
Run the code above in your browser using DataLab