I'm trying to recode as follows:
X999_4_ethnicities_reclassification$Continent[X999_4_ethnicities_reclassification$Ethnicity_Class == “Brazilian (no ethnicity)”] = “South America”
But I get this error message and can't for the life of me figure out why
Error: unexpected input in "X999_4_ethnicities_reclassification$Continent[X999_4_ethnicities_reclassification$Ethnicity_Class == “"
Does anyone have ideas as to why?
Thanks in advance!