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

setMapExtents

Internal function allowing map extents to be set from area names


Description

Allows map extents to be set from country or area names (e.g. India, Africa )

Usage

setMapExtents(mapRegion = "world")

Arguments

mapRegion

a country name from getMap()[['NAME']] or one of 'eurasia','africa','latin america','uk','oceania','asia'

Details

Can be called by mapCountryData and mapGriddedData

Value

a dataframe containing we,ea,so,no values in degrees between -180 & +180

Author(s)

andy south

Examples

mapCountryData( mapRegion='Africa' )
mapCountryData( mapRegion='India' )

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.