Density plot in 1d using the interactive loon package

density_1d_loon(
  zargs,
  density.args = list(),
  method = c("single", "double"),
  lwd = NULL,
  linewidth = NULL,
  color = NULL,
  fill = NULL,
  linecolor = NULL,
  linkingGroup = NULL,
  showLabels = FALSE,
  showScales = FALSE,
  showGuides = FALSE,
  baseplot = NULL,
  parent = NULL,
  ...
)

Arguments

zargs

The argument list as passed from zenplot()

density.args

A list of arguments for density()

method

A character specifying the type of density used

lwd

Line width used only when linewidth = NULL, value of 1 used otherwise.

linewidth

Line width of outline for density polygons (highest priority)

color

Colour used to fill the density when fill is NULL and to outline the density when linecolor is NULL, foreground colour used otherwise.

fill

Colour used to fill the density polygon

linecolor

Colour used for the outline of the density

linkingGroup

A string specifying the initial group of plots to be linked to this plot

showLabels

Logical determining whether axis labels are displayed

showScales

Logical determining whether scales are displayed

showGuides

Logical determining whether the background guidelines are displayed

baseplot

If non-null the base plot on which the plot should be layered

parent

The tk parent for this loon plot widget

...

Additional parameters passed to loon::l_layer()

Value

A loon loon::l_plot(...)

Author

Marius Hofert and Wayne Oldford