setMapExtents: Internal function allowing map extents to be set from area...

Description Usage Arguments Details Value Author(s) Examples

View source: R/setMapExtents.R

Description

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

Usage

1
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

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

rworldmap documentation built on May 29, 2017, 5:42 p.m.