This function receives a CrossTable
object as its main
argument and produces a mosaicplot.
# S3 method for CrossTable
plot(x, xlab, ylab, main = "", col,
inv.x = FALSE, inv.y = FALSE, ...)
A object of class CrossTable.
See plot.default
.
See plot.default
.
See plot.default
and title
.
A specification for the default plotting color. (See section
‘Color Specification’ of par
). If the
argument is missing, a gray scale is used to make the plot easier to
interpret.
A logical value indicating whether the order of the levels of
the x
variable should be inverted.
A logical value indicating whether the order of the levels of
the y
variable should be inverted.
Further arguments to be passed to
mosaicplot
.
Jakson A. Aquino jalvesaq@gmail.com
CrossTable
, crosstab
.