## S3 method for class 'table':
barchart(formula, groups = TRUE,
origin = 0, stack = TRUE, \dots)## S3 method for class 'array':
barchart(formula, \dots)
## S3 method for class 'matrix':
barchart(formula, \dots)
## S3 method for class 'table':
dotplot(formula, groups = TRUE, \dots)
## S3 method for class 'array':
dotplot(formula, \dots)
## S3 method for class 'matrix':
dotplot(formula, \dots)
"trellis". The
update method can be used to
update components of the object and the
print method (usually called by
default) will plot it on an appropriate plotting device.t or aperm). For more flexibility, use
the formula method after converting the table to a data frame using
the relevant as.data.frame
method.barchart, t, aperm,
table, panel.barchart,
Latticebarchart(Titanic, scales = list(x = "free"),
auto.key = list(title = "Survived"))Run the code above in your browser using DataLab