- x
Either the x case for the bar plot or a plot formula. If the x case,
typically a vector of factor or grouping terms, used to assign x positions in
bar plot. If a plot formula, a plot description in the format y~x|cond, where
x is a factor or grouping term and y and cond are optional.
- y
(Optional) The y case for the bar plot, typically a vector of numeric
terms, used with stat when calculating summary information for bar plots.
- groups, cond
(Optional) The group case for the bar plot, typically a vector
of factor or grouping terms.
- data
(Optional) if supplied, the assumed source
of the plot elements, x, y, groups and cond,
typically a data.frame.
- ...
Additional arguments, passed on to lattice function.
- drop.nas
Option to drop NAs before plotting results, default
TRUE.
- stat
If supplied, the function used to summarise y data after grouping
by x, groups and cond. By default, this counts x cases
if y is not supplied, or calculates sum of y values if these are
supplied.