I have 4 binary variables (0/1) and trying to create a newvar=1 if any 3 of those 4 variables ==1 and 0 if not.
I can write it with a lot of if statements, but can't figure an easier way which I am sure exists
Thanks
I can write it with a lot of if statements, but can't figure an easier way which I am sure exists
Thanks
Comment