setMapExtents

0th

Percentile

Internal function allowing map extents to be set from area names

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

Keywords
dplot
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

Aliases
  • setMapExtents
Examples

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

Documentation reproduced from package rworldmap, version 1.3-6, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.