Usage
panel.barchart2(x, y, box.ratio = 1, box.width = box.ratio/(1 + box.ratio),
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",
stackWidth=NULL)
panel.likert(..., horizontal=TRUE, reference.line.col="gray65")
Arguments
x, y, box.ratio, box.width, horizontal, origin, reference,
stack, groups, col
border, lty, lwd, identifier
...
Extra arguments, if any, for panel.barchart
.
stackWidth
Heights in each horizontal stacked bar, when
stack=TRUE, are constant and specified by this argument. We
recommend starting with
stackWidth <- stackWidth/mean(stackWidth)
and adjusting as seems appropriate.