Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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

Value

A SpatialPolygonsDataFrame object.

Author(s)

Barry Rowlingson & Andy South

Examples

plot(getMap())

rworldmap

Mapping Global Data

v1.3-6
GPL (>= 2)
Authors
Andy South
Initial release
2016-02-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.