Learn R Programming

rangemap (version 0.1.18)

simple_wmap: 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

Run this code
# NOT RUN {
map <- simple_wmap()
# }

Run the code above in your browser using DataLab