Formula is mis-specified
Posted: Tue Mar 14, 2023 7:47 pm
Hi everyone , when I try to compute a new variable called "low Vit D-low iron" using this formula: if(VitD_recoded==0 & iron_recoded==0, 1, 0), Jamovi says "the formula is mis-specified". Do you know how can I let this formula work?
I have already tried these other options:
if(VitD_recoded==0 and iron_recoded==0, 1, 0),
IF(VitD_recoded==0 & iron_recoded==0, 1, 0),
Iif(VitD_recoded==0 AND iron_recoded==0, 1, 0).
Thank you so so much for your help,
Claire
I have already tried these other options:
if(VitD_recoded==0 and iron_recoded==0, 1, 0),
IF(VitD_recoded==0 & iron_recoded==0, 1, 0),
Iif(VitD_recoded==0 AND iron_recoded==0, 1, 0).
Thank you so so much for your help,
Claire