density_1d_loon: Density plot in 1d using the interactive loon package

View source: R/plot1dloon.R

density_1d_loonR Documentation

Density plot in 1d using the interactive loon package

Description

Density plot in 1d using the interactive loon package

Usage

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(s)

Marius Hofert and Wayne Oldford

See Also

Other default 1d plot functions using the interactive loon package: arrow_1d_loon(), boxplot_1d_loon(), hist_1d_loon(), jitter_1d_loon(), label_1d_loon(), lines_1d_loon(), points_1d_loon(), rect_1d_loon(), rug_1d_loon()

Other default 1d plot functions: arrow_1d_graphics(), arrow_1d_grid(), arrow_1d_loon(), boxplot_1d_graphics(), boxplot_1d_grid(), boxplot_1d_loon(), density_1d_graphics(), density_1d_grid(), extract_1d(), hist_1d_graphics(), hist_1d_grid(), hist_1d_loon(), jitter_1d_graphics(), jitter_1d_grid(), jitter_1d_loon(), label_1d_graphics(), label_1d_grid(), label_1d_loon(), lines_1d_graphics(), lines_1d_grid(), lines_1d_loon(), points_1d_graphics(), points_1d_grid(), points_1d_loon(), rect_1d_graphics(), rect_1d_grid(), rect_1d_loon(), rug_1d_graphics(), rug_1d_grid(), rug_1d_loon()


zenplots documentation built on Nov. 8, 2023, 1:10 a.m.