panel.barchart  Default Panel Function for barchart
 Description
Default panel function for barchart. 
Usage
panel.barchart(x, y, box.ratio = 1, box.width,
               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,
               ..., identifier = "barchart")
 Arguments
| x |  Extent of Bars. By default, bars start at left of panel, unless  | 
| y | Horizontal location of bars. Possibly a factor. | 
| box.ratio | Ratio of bar width to inter-bar space. | 
| box.width |  Thickness of bars in absolute units; overrides  | 
| horizontal | Logical flag. 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  | 
| origin |  The origin for the bars. For grouped displays with  | 
| reference | Logical, whether a reference line is to be drawn at the origin. | 
| stack |  logical, relevant when groups is non-null. If  | 
| groups | Optional grouping variable. | 
| col, border, lty, lwd | Graphical parameters for the bars. By default, the trellis parameter  | 
| ... | Extra arguments will be accepted but ignored. | 
| identifier | A character string that is prepended to the names of grobs that are created by this panel function. | 
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. 
Author(s)
Deepayan Sarkar [email protected]
See Also
Examples
barchart(yield ~ variety | site, data = barley,
         groups = year, layout = c(1,6), origin = 0,
         ylab = "Barley Yield (bushels/acre)",
         scales = list(x = list(abbreviate = TRUE,
                                minlength = 5)))
    Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.