Skip to content

Instantly share code, notes, and snippets.

@mfmakahiya
Last active October 25, 2018 12:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
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")
mapplot1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment