xp_map: ggplot2 layer call
Description
Function calling the ggplot2 layer function
with its parsed arguments.
Usage
xp_map(arg, mapping, ggfun)
Arguments
arg
A list of arguments for the target layer.
mapping
ggplot2 aesthetics for the target layer.
ggfun
Name of the ggplot2 layer function to be called.
Value
Output of the `ggfun` call.