Open KatrinHeger opened 8 years ago
We've used some individual codes for recoding variables. If you know what factor level you need to replace "endorsement; alleged military" you could maybe try something like this:
data$variable[data$variable=="endorsement; alleged military"] <- 3 (the number of the label you need)
Hi everyone,
I tried to recode a character variable into a factor variable, which worked fine for all but two entries. These two entries have the character "endorsement; alleged military" and I assume that I can't recode them becaus of the semicolon. Any ideas, anyone?
Thanks!!!!