Skip to content

Instantly share code, notes, and snippets.

@mfmakahiya
Last active October 25, 2018 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfmakahiya/e2024fc728befa9a089a6599f91d4cb6 to your computer and use it in GitHub Desktop.
Save mfmakahiya/e2024fc728befa9a089a6599f91d4cb6 to your computer and use it in GitHub Desktop.
# 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