I have a dataframe within R. This is a simple example:
39 30 29 39 46 51 47 44 21
39 30 29 39 46 51 47 44 21
38 30 29 39 46 51 47 43 21
38 30 29 39 46 50 47 43 20
Let's say I want to replace 39 with 's' and 41 with #, etc. I know that I could do this manually, but I have 57 symbol replacements and I'm looking for an automated way to go about this.
I have one data frame with the numbers as above and another with the symbol replacements like this:
34 ^
38 m
39 s
41 #
43 ✎