R converting dataframe of strings to unique numbers
I have a dataframe that’s very large (let’s say 8 rows by 10,000 columns) that is filled with strings. I want to convert each unique string to a number and replace it with it. For example, if I had a dataframe: X1 X2 X3 1 cat mouse rabbit 2 dog cat, dog dog I’d like… Read More R converting dataframe of strings to unique numbers