getWorldMap | R Documentation |
Create a World Map as a ggplot object
getWorldMap( fill = "gray20", borderColor = fill, borderWidth = 0.1, region = "World", theme = theme_void(), addFrame = T )
fill |
fill color. |
borderColor |
border color. |
borderWidth |
numeric, border width. |
region |
character, bounding box as a geographical description |
theme |
ggplot theme |
addFrame |
logical, add a frame (mostly useful when theme=theme_void()) |
a ggplot object
getWorldMap(region='SouthAtlantic') getWorldMap(region='Europe') getWorldMap(region='Mediterranean',borderColor='gray50') getWorldMap(region='NewZealand')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.