Default Panel Function for dotplot
panel.dotplot.RdDefault panel function for dotplot.
Usage
panel.dotplot(x, y, horizontal = TRUE,
pch, col, lty, lwd, col.line,
levels.fos,
groups = NULL,
...,
grid = lattice.getOption("default.args")$grid,
identifier = "dotplot")Arguments
- x,y
variables to be plotted in the panel. Typically y is the ‘factor’
- horizontal
logical. If FALSE, the plot is ‘transposed’ in the sense that the behaviours of x and y are switched. x is now the ‘factor’. Interpretation of other arguments change accordingly. See documentation of
bwplotfor a fuller explanation.- pch, col, lty, lwd, col.line
graphical parameters
- levels.fos
locations where reference lines will be drawn
- groups
grouping variable (affects graphical parameters)
- ...
extra parameters, passed to
panel.xyplotwhich is responsible for drawing the foreground points (panel.dotplotonly draws the background reference lines).- grid
A logical flag, or list specifying whether and how a background grid should be drawn. In its general form
gridcan be a list of arguments to be supplied topanel.grid, which is called with those arguments. IfFALSE, no grid lines are drawn.grid = TRUEis roughly equivalent tolist(h = 0, v = -1)ifhorizontal = TRUEandlist(h = -1, v = 0)ifhorizontal = FALSE. In other words, grid lines are drawn only for the numeric axis, as reference lines for the categorical axis are drawn regardless of the value ofgrid.- identifier
A character string that is prepended to the names of grobs that are created by this panel function.
Author
Deepayan Sarkar Deepayan.Sarkar@R-project.org