Description Usage Arguments Value Author(s) See Also
Draws line segments or rectangles.  Mainly intended to be used in
conjunction with the segplot function.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  | prepanel.segplot(x, y, z, subscripts, horizontal = TRUE, ...)
panel.segplot(x, y, z, level = NULL, subscripts, 
              at,
              draw.bands = is.factor(z),
              col, alpha, 
              lty, lwd,
              border,
              col.symbol = col, alpha.symbol = alpha,
              col.regions = regions$col,
              band.height = 0.6,
              horizontal = TRUE, 
              ...,
              segments.fun = panel.segments,
              centers = NULL,
              pch = 16)
 | 
x, y, z | 
  Vectors corresponding to   | 
level | 
 optional vector controlling color of segments  | 
centers | 
  optional vector of ‘centers’ of the segments.
If specified, points will be plotted at these   | 
pch | 
  plotting character used for   | 
subscripts | 
  integer subscript to be used as an indexing vector
for   | 
horizontal | 
 logical, whether the segments are to be drawn horizontally (the default) or vertically. This essentially swaps the role of the x- and y-axes in each panel.  | 
at | 
  values of   | 
draw.bands | 
 logical, whether to draw rectangles instead of lines  | 
col, alpha, lty, lwd, border | 
  Graphical parameters for the
segment.  Defaults to parameter settings for   | 
col.symbol, alpha.symbol | 
  Graphical parameters for the point if
  | 
col.regions | 
  vector of colors as in   | 
band.height | 
  height of rectangles (applicable if
  | 
... | 
  Other arguments, passed on to   | 
segments.fun | 
  function used to plot segments when
  | 
For prepanel.segplot a list with components xlim and
ylim.
Deepayan Sarkar deepayan.sarkar@r-project.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.