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

View source: R/setMapExtents.R

setMapExtentsR Documentation

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 documentation built on Oct. 16, 2023, 5:07 p.m.