regmap: Provide a map layer for maps of various regions

Usage Arguments Value

Usage

1
2
3
regmap(.data, region = "europe", .lon = "lon", .lat = "lat",
  .xlim = NULL, .ylim = NULL, .region_colour = "#BBBBBB",
  .region_fill = "#DDDDDD", plot = TRUE)

Arguments

.data

data set to plot on the map

.lon

name of the longitude variable as character

.lat

name of the latitude variable as character

.xlim

longitudinal boundaries of the map

.ylim

latitudinal boundaries of the map

.region_colour

line colour for the region map

.region_fill

fill colour for the region map

plot

shall a plot be generated (TRUE, default) or only the map layer be returned (FALSE)

Value

an object of class "gg"


cszang/eumap documentation built on May 14, 2019, 12:26 p.m.