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

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

Marius Hofert and Wayne Oldford