Changing levels' names

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)
Post Reply
Isabel
Posts: 3
Joined: Fri Jul 19, 2024 6:41 pm

Changing levels' names

Post by Isabel »

Hi,

I'm trying to attribute other names for the levels.
As you can see in the image, I want to change both "Concordo ligeiramente" and "Concordo totalmente" to "1". However, it seems that I cannot do this without appearing a (2) for repeated names.

A possible solution is to create a computed variable for this column using the rule IF( AQ_01 == "Concordo totalmente" or AQ_01 == "Concordo ligeiramente", 1, 0). However, I want to avoid adding more columns to my database unnecessarily.

I also tried to change the Measure type from Nominal to Ordinal, and the Data type from Text to Integer, but all the values disappeared.

Does anyone know why this is happening and how can I change the name of the two levels to the same without the (2)?
Attachments
Screenshot 2025-04-01 at 19.25.40.png
Screenshot 2025-04-01 at 19.25.40.png (27.93 KiB) Viewed 32267 times
User avatar
jonathon
Posts: 2847
Joined: Fri Jan 27, 2017 10:04 am

Re: Changing levels' names

Post by jonathon »

hi,

two different levels cannot have the same label ... thems the rules sorry. in this situation we suggest you recode the column.

> and the Data type from Text to Integer, but all the values disappeared.

yeah, there's no meaningful way that jamovi can convert 'Concordo ligeiramente' to a number, so it is converted to a missing value.

jonathon
Post Reply