Learn R Programming

lattice (version 0.13-4)

panel.barchart: Default Panel Function for barchart

Description

Default panel function for barchart.

Usage

panel.barchart(x, y, box.ratio = 1,
               horizontal = TRUE,
               origin = NULL, reference = TRUE,
               stack = FALSE,
               groups = NULL, 
               col = if (is.null(groups)) plot.polygon$col else superpose.polygon$col,
               border = if (is.null(groups)) plot.polygon$border else superpose.polygon$border,
               lty = if (is.null(groups)) plot.polygon$lty else superpose.polygon$lty, 
               lwd = if (is.null(groups)) plot.polygon$lwd else superpose.polygon$lwd,
               ...)

Arguments

Details

A barchart is drawn in the panel. Note that most arguments controlling the display can be supplied to the high-level barchart call directly.

See Also

barchart