Missing Values

Discuss the jamovi platform, possible improvements, etc.

by adrmnc » Mon May 03, 2021 8:45 am

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, &...
adrmnc
 
Posts: 1
Joined: Mon May 03, 2021 8:40 am

by jonathon » Mon May 03, 2021 8:48 am

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

cheers

jonathon
User avatar
jonathon
 
Posts: 1803
Joined: Fri Jan 27, 2017 10:04 am


Return to General

cron