Created
October 25, 2018 12:25
-
-
Save mfmakahiya/47c6cc0eb71a145f168842dfa12e07ef 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 shapefile / geom_polygon | |
SHAPE_FILE_PATH = "./Data/World_Countries/World_Countries.shp" | |
world <- readOGR(dsn = SHAPE_FILE_PATH) | |
world <- fortify(world) | |
mapplot3 <- ggplot(data = world, aes(long, lat, group=group)) + | |
geom_polygon(color = "white", fill = "gray50") | |
mapplot3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment