Hello, I have a scale and I am trying to create a dummy variable from one of the socio-demographics. The question is what are the sources of your income and I let to pick multiple choices among "help from family", "part-time job", "full-time job" and "scholarship". The dummy I want to create is for measuring financial independence. if any of these response includes "help from family" I want to accept it 0 otherwise 1.

when I use the ifelse function the output was not like what I want;

data$gelkaydummy

More Ilhan Albulut's questions See All
Similar questions and discussions