Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Using map_data()
worldmap <- map_data ("world")
mapplot1 <- ggplot(worldmap) +
geom_map(data = worldmap, map = worldmap,
aes(x=long, y=lat, map_id=region), col = "white", fill = "gray50")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment