Learn R Programming

plotrix (version 2.8-2)

drawNestedBars: Display nested bars

Description

Displays the nested bars for barNest.

Usage

drawNestedBars(x,start,end,shrink=0.1,errbars=FALSE,col=NA,
 labelcex=1,labely=NA,showlabels=TRUE,arrow.cap=0.01)

Arguments

x
One level of the breakdown produced by brkdnNest.
start,end
The left and right x coordinates for the bar or group of bars to be displayed.
shrink
The proportion to shrink the width of the bars at each level.
errbars
Whether to display error bars on the bars.
col
The colors to use to fill the bars. See Details.
labelcex
Character size for the group labels.
labely
The position of the group labels in user units. This is calculated by barNest.
showlabels
Whether to display the labels below the bars.
arrow.cap
The width of the "cap" on error bars in user units, defaulting to 0.01 of the width of the plot.

Value

  • nil

Details

drawNestedBars displays the bars for one level of the nested breakdown performed by brkdnNest. It is unlikely to be useful for anything else.

See Also

brkdnNest, drawNestedBars