Hi,
I would like to compute a binary (yes/no) variable using the conditions of two categorical variables, i.e., a score of 0 or 1 on one variable and a score of 2 on another.
How do I do this? I have tried using the 'if' function but cannot seem to ensure it satisfies both conditions at the same time.
Thanks,
Esther