geom_basemap | R Documentation |
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.
geom_basemap()
A ggplot
object.
# Attach packages ----
library("forcis")
library("ggplot2")
# World basemap ----
ggplot() +
geom_basemap()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.