getWorldMap: World map

View source: R/Maps.R

getWorldMapR Documentation

World map

Description

Create a World Map as a ggplot object

Usage

getWorldMap(
  fill = "gray20",
  borderColor = fill,
  borderWidth = 0.1,
  region = "World",
  theme = theme_void(),
  addFrame = T
)

Arguments

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())

Value

a ggplot object

Examples

getWorldMap(region='SouthAtlantic')
getWorldMap(region='Europe')
getWorldMap(region='Mediterranean',borderColor='gray50')
getWorldMap(region='NewZealand')

benRenard/BFunk documentation built on July 20, 2022, 7:07 a.m.