if any

  1. R

    Why does SPSS exclude 0-values after recoding with IF (ANY 1, var) ? Frequency tables only showing 1 and missing.

    Hi everyone! There is something strange going on with SPSS after recoding/making a new variable. I hope someone can help me! I want to make a new variable, say I would call it NEWVARIABLE. Then I want NEWVARIABLE to be 1, if ANY of the following variables has 1 (yes): D105A, D105B, D105C...