I have a data set temp
, as below.
temp = data.frame(Country = c("France","Isreal","INDIA"),
Color = c("Green","Red","BLUE"))
Country Color
France Green
Isreal Red
INDIA BLUE
I would like to color these countries in Column A (Country) on the world map with the Column B(Color) values using R. Say for example, India should be represented by the color Blue as in Column B.