Want to transform two columns into conditions

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
Chase G
Posts: 2
Joined: Wed Nov 17, 2021 5:55 pm

Want to transform two columns into conditions

Post by Chase G »

Hello I have two columns that are two separate conditions in an experiment.

Column A [Social EA] has text in some columns and blanks if they were in the other condition

Column B [Mundane Exp] has text where the blanks are in Column A (See Image)

I want to turn these two columns into a shared condition column

1 for if there is text in Column A and 0 if there is text in Column B
Attachments
Jamovi Image.JPG
Jamovi Image.JPG (80.4 KiB) Viewed 1447 times
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Want to transform two columns into conditions

Post by jonathon »

i'd use a computed variable for this, and use something like:

IFMISS(ColumnA, 0, 1)

this assumes that if there is no text in ColumnA, then there will always be text in ColumnB ... which may or may not be a correct assumption.

cheers
Post Reply