powered by
Turn character vector into a factor
factorize_character_vector(data_vector, custom_labels = NULL)
A factor with labeled levels.
Character vector.
Optional named character vector where names are original values and values are labels.
factorize_character_vector(c("A First", "B Second", "C Third"))
Run the code above in your browser using DataLab