Loon's displays that are based on Cartesian coordinates (i.e. scatterplot, histogram and graph display) allow for layering visual information including polygons, text and rectangles.
Scatter points layer
l_layer_points(
widget,
x,
y = NULL,
color = "gray60",
size = 6,
label = "points",
parent = "root",
index = 0,
active = TRUE,
...
)
layer object handle, layer id
widget path name as a string
the coordinates of line. Alternatively, a single plotting structure,
function or any R object with a plot method can be provided as x and
y are passed on to xy.coords
the y coordinates of the line, optional if x is an appropriate structure.
color of points
size point, as for scatterplot model layer
label used in the layers inspector
group layer
of the newly added layer in its parent group
a logical determining whether objects appear or not
(default is TRUE
for all).
additional state initialization arguments, see
l_info_states
For more information run: l_help("learn_R_layer")
l_layer
, l_info_states