I have a problem that help recode doesnt solve.
I have a IHD variable that is coded 0 or 1. In another column I have date of myocardial infarction. If a date is there, an event happened. If it's just a dot, no event happened. I want to recode from 0=1 if there is a date/or not a dot. Is there a simple solution?
I have a IHD variable that is coded 0 or 1. In another column I have date of myocardial infarction. If a date is there, an event happened. If it's just a dot, no event happened. I want to recode from 0=1 if there is a date/or not a dot. Is there a simple solution?