Learn R Programming

rworldmap (version 1.3-8)

getMap: A simple way to access maps stored in the package.

Description

A simple way to access maps stored in the package.

Usage

getMap(resolution = "coarse", projection = NA)

Value

A SpatialPolygonsDataFrame object.

Arguments

resolution

options "coarse","low","less islands","li","high". For "high" you need to install the package rworldxtra

projection

DEPRECATED OCTOBER 2012 to reproject maps see spTransform in rgdal

Author

Barry Rowlingson & Andy South

Examples

Run this code

plot(getMap())

Run the code above in your browser using DataLab