Learn R Programming

rworldmap (version 1.3-8)

rwmCheckAndLoadInput: internal function to check and load input data to mapping functions

Description

Internal function checking and loading dFs or sPDFs to mapCountryData, mapPolys, mapPies, mapBubbles, mapBars.

Usage

rwmCheckAndLoadInput(
  inputData = "",
  inputNeeded = "sPDF",
  callingFunction = ""
)

Value

invisibly returns a dF or sPDF

Arguments

inputData

a dF, sPDF or "", for latter an internal example data is used

inputNeeded

"sPDF", "sPDF or dF", "dF"

callingFunction

optional : name of the calling function

Author

andy south

Details

a rworldmap internal function, unlikely to be of use to users