.checkLegendLoc {wrMisc} | R Documentation |
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
)
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 |
Value
This function returns a character vector designing the potential location of legend
See Also
Examples
.checkLegendLoc("abc")
[Package wrMisc version 1.15.1 Index]