Learn R Programming

plotrix (version 2.3-1)

dispbars: Dispersion bars

Description

Display line/cap bars at specified points on a plot representing measures of dispersion.

Usage

dispbars(x,y,ulim,llim=ulim,arrow.cap=0.01,arrow.gap=NA,...)

Arguments

x,y
x and y position of the centers of the bars
ulim,llim
The extent of the dispersion measures.
arrow.cap
The width of the cap at the outer end of each bar as a proportion of the width of the plot.
arrow.gap
The gap to leave at the inner end of each bar. Defaults to two thirds of the height of a capital "O".
...
additional arguments passed to arrows.

Value

  • nil

Details

If arrow.gap is greater than or equal to the upper or lower limit for a bar, segments is used to draw the upper and lower caps with no bars to avoid zero length arrows.

See Also

arrows,segments