I have a column of 5 digit code values (from 1-3) values in R with 243 possible combinations (5 digits, each digit can be 1, 2, or 3):
Example:
13212
13211
However, each 5 digit code represents a coresponding value.
For instance:
13212 = 0.5120
13211 = 0.1232
How do I imput the unique corresponding value for each of these 243 numeric codes?
How do I tell R to convert my column of numeric codes into their coresponding values?