conditional recode

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
noavar
Posts: 3
Joined: Sat Oct 17, 2020 7:10 pm

conditional recode

Post by noavar »

Hi,
I want to recode values, but only for one group. and for other groups to write the original score.
can I do something like this?
in the "transform" window, I can only to define my recode, but not to condition it in the context of another variable.

thanks for help
Noa
User avatar
jonathon
Posts: 2622
Joined: Fri Jan 27, 2017 10:04 am

Re: conditional recode

Post by jonathon »

hi,

this is certainly possible.

something like the attached?
Screen Shot 2020-10-18 at 14.19.39.png
Screen Shot 2020-10-18 at 14.19.39.png (682.93 KiB) Viewed 1424 times
jonathon
noavar
Posts: 3
Joined: Sat Oct 17, 2020 7:10 pm

Re: conditional recode

Post by noavar »

thanks a lot!
There is documentation of the rules of conditioning and the manner of writing?
User avatar
jonathon
Posts: 2622
Joined: Fri Jan 27, 2017 10:04 am

Re: conditional recode

Post by jonathon »

there's a couple of blog posts describing things, but there's not a lot to it:

https://blog.jamovi.org/2017/11/28/jamovi-formulas.html
https://blog.jamovi.org/2018/10/23/transforming-variables.html

jonathon
noavar
Posts: 3
Joined: Sat Oct 17, 2020 7:10 pm

Re: conditional recode

Post by noavar »

thanks Jonathan
Post Reply