group_2d_graphics: Plot of labels indicating adjacent groups using R's base...

View source: R/plot2dgraphics.R

group_2d_graphicsR Documentation

Plot of labels indicating adjacent groups using R's base graphics

Description

Plot of labels indicating adjacent groups using R's base graphics

Usage

group_2d_graphics(
  zargs,
  glabs = NULL,
  sep = "\n",
  loc = c(0.5, 0.5),
  add = FALSE,
  plot... = NULL,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

glabs

group labels being indexed by the plot variables (and thus of length as the number of variables); if NULL then they are determined with extract_2d()

sep

group label separator

loc

(x,y)-location in [0,1]^2; 0 corresponds to left, 1 to right (in the direction of the path)

add

logical indicating whether this plot should be added to the last one

plot...

additional arguments passed to plot_region()

...

additional arguments passed to text()

Value

invisible()

Note

For performance reasons (avoiding having to call extract_2d() twice), 'glabs' is an extra argument

Author(s)

Marius Hofert and Wayne Oldford

See Also

Other default 2d plot functions using R's base graphics: arrow_2d_graphics(), axes_2d_graphics(), density_2d_graphics(), label_2d_graphics(), points_2d_graphics(), qq_2d_graphics(), rect_2d_graphics()

Other default 2d plot functions: arrow_2d_graphics(), arrow_2d_grid(), arrow_2d_loon(), axes_2d_graphics(), axes_2d_grid(), axes_2d_loon(), density_2d_graphics(), density_2d_grid(), density_2d_loon(), extract_2d(), group_2d_grid(), group_2d_loon(), label_2d_graphics(), label_2d_grid(), label_2d_loon(), points_2d_graphics(), points_2d_grid(), points_2d_loon(), qq_2d_graphics(), qq_2d_grid(), rect_2d_graphics(), rect_2d_grid(), rect_2d_loon()


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