simple_wmap: Get a simplified SpatialPolygonsDataFrame of the world

View source: R/helpers.R

simple_wmapR Documentation

Get a simplified SpatialPolygonsDataFrame of the world

Description

Get a simplified SpatialPolygonsDataFrame of the world

Usage

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

map <- simple_wmap()

manubio13/rangemap documentation built on May 9, 2022, 6:27 a.m.