I have a marriage variable called v1marital in one dataset and v_martial_0 in another. I am trying to harmonize the variables and also change from character to numeric. However, the variables have different conditions and I want vmarital=2 to equal 3 =v_marital_0. I'm not sure how to go about this. V_MARITAL_0 1=single, never married 2=married, co-habituating 3=divorced or separated 4=widowed and V1MARITAL 1=single, never married 2=separate 3=divorced or annulled 4=widowed 5=married
... View more