loonLayer {loon.ggplot}R Documentation

Transform geom layers to loon layers

Description

Function loonLayer is used to create loon non-interactive layers. For some ggplot2 extension packages, one can edit this function to realize the transformation.

Usage

loonLayer(
  widget,
  layerGeom,
  data,
  ggplotPanelParams,
  ggObj,
  parent,
  label,
  ...
)

Arguments

widget

a loon widget

layerGeom

a ggplot Geom layer object

data

a data frame (i.e. x, y, etc) of this particular layer

ggplotPanelParams

ggplot panel parameters

ggObj

the ggplot object

parent

a valid Tk parent widget path.

label

label used in the layers inspector

...

not for users


[Package loon.ggplot version 1.3.4 Index]