worldMap {INLAspacetime} | R Documentation |
Helper functions to retrieve the world map, a world polygon, and create grid centers.
Description
Retrieve the map of the countries
Usage
worldMap(
crs = "+proj=moll +units=km",
scale = "medium",
returnclass = c("sf", "sv")
)
Arguments
crs |
a string with the projection. Default is the Mollweide projection with units in kilometers. |
scale |
see the help from the 'ne_countries' of the 'rnaturalearth' package |
returnclass |
defined by the sf package if returnclass = "sf" or terra if returnclass = "sv". |
Value
the world map of the countries.
References
The land and ocean maps are obtained with the 'rnaturalearth' package.
[Package INLAspacetime version 0.1.8 Index]