Missing Values

Discuss the jamovi platform, possible improvements, etc.
Post Reply
adrmnc
Posts: 1
Joined: Mon May 03, 2021 8:40 am

Missing Values

Post by adrmnc »

If I want to add missing values as anything written that DOES NOT MATCH MALE OR FEMALE, what is the code for the or?

i get it is:

Code: Select all

when $source != 'Male'
but

Code: Select all

when $source != 'Male' or 'Female'

doesn't work for me, neither OR, comma, &...
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Missing Values

Post by jonathon »

if $source != 'Male' and $source != 'Female'

cheers

jonathon
Post Reply