panel.needle: Needle Plot Lattice Panel

Description Usage Arguments Details Author(s) See Also

Description

A variation of panel.dotplot that plots horizontal lines from zero to the data point.

Usage

1
2
3
4
5
panel.needle(x, y, horizontal = TRUE,
              pch, col, lty, lwd, 
              col.line, levels.fos,
              groups = NULL,
              ...)

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 bwplot for 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.xyplot which is responsible for drawing the foreground points (panel.dotplot only draws the background reference lines).

Details

Creates (possibly grouped) needleplot of x against y or vice versa

Author(s)

Max Kuhn, based on panel.dotplot by Deepayan Sarkar

See Also

dotplot


caret documentation built on May 2, 2019, 5:47 p.m.

Related to panel.needle in caret...