map_world: Background map using the maps package

Description Usage Arguments Value Examples

View source: R/maps.R

Description

Background map using the maps package

Usage

1
2
3
4
5
map_world(
  color_continents = "grey80",
  color_borders = "white",
  resolution = "coarse"
)

Arguments

color_continents

color for the continents (grey80 by default)

color_borders

color for the borders (white by default)

resolution

"coarse" for global maps, "low" for regional maps

Value

A map as a ggplot object

Examples

1
map_world() + geom_point(data=cultures_one_year, aes(x=Longitude, y=Latitude), fill="blue", size=2, shape=21)

vaulot/dvutils documentation built on Nov. 20, 2021, 11:01 a.m.