So I have been trying multiple things such as
Code:
generate tri = country if country== "Brazil", "United States" & "China" replace tri= country if GINIindex = 42.06 | GINIindex= 41.12 | GINIindex= 52.67
I've been at this for maybe three hours, gone through Youtube and pages on this site through Google but have not been able to figure it out. I don't even know if it's possible to add those thee specific countries into a variable. I don't know if I'm just missing a comma or something. I even tried destring, then add a number a value to the country but that also gave me an error.
Any help is appreciated, thank you.
0 Response to Need to Highlight specific points on scatter plot, trying to create new variable
Post a Comment