Non-exported functions meant for package internal use.
parseInputs(val)buildLegend(legend,
lloc = c("top","bottom","right","left"),
spacing = 1.3)
scaleline
or legend
argument of the addScales
call to be parsed
legend
list after being parsed: a list of 2 textGrobs with names c("h","v")
one of "top","bottom","left", or "right" where the legend will be placed
horizontal/vertical spacing between the "h"
and
and "v"
components of the legend (which depends on
lloc
)
For parseInputs
, properly parsed 2-component lists with component names
"h" and "v" in that order.
For buildLegend
, a grid frameGrob
for use as the
fun
component for a legend
of a trellis
object.