.checkLegendLoc: Check argument for Location of legend
Description
This function allows checking an argument for Location of legend,
if value provided not found as valid, it returns 'defLoc
Usage
.checkLegendLoc(
legLoc,
defLoc = "topright",
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
Value
This function returns a character vector designing the potential location of legend
Arguments
- legLoc
(character) main input
- defLoc
(character)
- silent
(logical) suppress messages
- debug
(logical) additional messages for debugging
- callFrom
(character) allow easier tracking of messages produced