This function converts the character values into value labels, assigning each value an integer.

char_to_lab(x)

Arguments

x

Character vector to pass through