Adding labels to levels of transformed variables
Re: Adding labels to levels of transformed variables
Hello team, I came across this post while looking for a way to add both numeric levels and corresponding text labels to a transformed variable. I agree decuser's suggestion is a workaround, but i believe that would not work if we updated the dataset. We would need to do the copy paste each time manually. I think it will be a useful feature to be able to have both numeric levels and corresponding text labels to a transformed variable as there are instances in which we need both.
Re: Adding labels to levels of transformed variables
hi divyanair,
you are quite correct. the challenge is handling collisions between values and labels. i.e. how we handle the following situation:
[value: 0, label: "small"]
[value: 1, label: "large"]
[value: 2, label: "large"]
we have to handle this somehow, and i haven't found a good solution for it yet.
another way for you to handle this, is to create two recoded columns; one with the numeric values, and one with the text values.
sorry i don't have a better solution at this time.
jonathon
you are quite correct. the challenge is handling collisions between values and labels. i.e. how we handle the following situation:
[value: 0, label: "small"]
[value: 1, label: "large"]
[value: 2, label: "large"]
we have to handle this somehow, and i haven't found a good solution for it yet.
another way for you to handle this, is to create two recoded columns; one with the numeric values, and one with the text values.
sorry i don't have a better solution at this time.
jonathon