I have just started to learn R and I am trying to create a new variable + using ifelse.
nlsy$ethnicity <- as.factor(ifelse(nlsy$race_ethnicity=="Black&quo