loon (version 1.3.3)

l_layer_points: 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 xy.coords

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 TRUE for all).

...

additional state initialization arguments, see l_info_states

Value

layer object handle, layer id

Details

For more information run: l_help("learn_R_layer")

See Also

l_layer, l_info_states