geom_basemap: Add a World basemap to a ggplot object

View source: R/geom_basemap.R

geom_basemapR Documentation

Add a World basemap to a ggplot object

Description

Creates a World base map that can be added to a ggplot object. Spatial layers come from the Natural Earth project (https://www.naturalearthdata.com/) and are defined in the Robinson coordinate system.

Usage

geom_basemap()

Value

A ggplot object.

Examples

# Attach packages ----
library("forcis")
library("ggplot2")

# World basemap ----
ggplot() +
  geom_basemap()

FRBCesab/forcis documentation built on Oct. 25, 2024, 9:26 a.m.