descr (version 1.1.4)

plot.CrossTable: Mosaic plot from object of class CrossTable

Description

This function receives a CrossTable object as its main argument and produces a mosaicplot.

Usage

# S3 method for CrossTable
plot(x, xlab, ylab, main = "", col,
           inv.x = FALSE, inv.y = FALSE, …)

Arguments

x

A object of class CrossTable.

xlab
ylab
main
col

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.

inv.x

A logical value indicating whether the order of the levels of the x variable should be inverted.

inv.y

A logical value indicating whether the order of the levels of the y variable should be inverted.

Further arguments to be passed to mosaicplot.

See Also

CrossTable, crosstab.