Function loonLayer is used to create loon non-interactive layers.
For some ggplot2 extension packages, one can edit this function to realize the transformation.
loonLayer(
widget,
layerGeom,
data,
ggplotPanelParams,
ggObj,
parent,
label,
...
)a loon widget
a ggplot Geom layer object
a data frame (i.e. x, y, etc) of this particular layer
ggplot panel parameters
the ggplot object
a valid Tk parent widget path.
label used in the layers inspector
not for users