Adding labels to levels of transformed variables

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
divyanair
Posts: 3
Joined: Wed Jun 05, 2024 5:26 am

Re: Adding labels to levels of transformed variables

Post by divyanair »

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.
User avatar
jonathon
Posts: 2840
Joined: Fri Jan 27, 2017 10:04 am

Re: Adding labels to levels of transformed variables

Post by jonathon »

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
Post Reply