l_layer_points {loon} | R Documentation |
Layer points
Description
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
Usage
l_layer_points(
widget,
x,
y = NULL,
color = "gray60",
size = 6,
label = "points",
parent = "root",
index = 0,
active = TRUE,
...
)
Arguments
widget |
widget path name as a string |
x |
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 |
y |
the y coordinates of the line, optional if x is an appropriate structure. |
color |
color of points |
size |
size point, as for scatterplot model layer |
label |
label used in the layers inspector |
parent |
group layer |
index |
of the newly added layer in its parent group |
active |
a logical determining whether objects appear or not
(default is |
... |
additional state initialization arguments, see
|
Details
For more information run: l_help("learn_R_layer")
Value
layer object handle, layer id