Last active
October 25, 2018 12:29
-
-
Save mfmakahiya/e2024fc728befa9a089a6599f91d4cb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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