Hi everyone,
I am working on a dataset which has coded variables whose labels are for example, like, "1. Yes; 0. No" or "10. Raj; 11. UP; 12. HP" etc. Basically all label values contain digits in the beginning of the label but the number of digits could differ depending on the variable.
I want to change the value labels such that the digits are dropped and I only retain the string value in all such variables, that is, "Yes; No" etc.
It would be great if someone can let me how I can do the above in an efficient manner than having to redefine the label values for each.
Thank you
0 Response to Changing value labels (dropping a part of value labels)
Post a Comment