simple_wmap: Get a simplified SpatialPolygonsDataFrame of the world

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

Get a simplified SpatialPolygonsDataFrame of the world

Usage

1
simple_wmap(which = "simplest", regions = ".")

Arguments

which

(character) name of type of SpatialPolygons to be obtained. Options are: "simple" and "simplest"; default = "simplest".

regions

(character) name of the country (or region if which = "simple") for which to obtain the SpatialPolygonsDataFrame.

Value

A simplified SpatialPolygonsDataFrame of the world in WGS84 projection.

Examples

1
map <- simple_wmap()

rangemap documentation built on Sept. 5, 2021, 5:17 p.m.