Learn R Programming

lattice (version 0.5-4)

panel.barchart: Default Panel Functions for barchart

Description

This is the default panel function for barchart.

Usage

panel.barchart(x, y, horizontal, col, ...)

Arguments

x
Endpoints of Bars. Bars start at left of panel.
y
Horizontal location of bars.
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 expla
col
Color of the bars. By default, the trellis parameter bar.fill is used.
...
extra arguments will be accepted but ignored

synopsis

panel.barchart(x, y, box.ratio = 1, horizontal, col = bar.fill$col, ...)

See Also

barchart