plot.CrossTable {descr}R Documentation

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 class 'CrossTable'
plot(x, xlab, ylab, main = "", col,
           inv.x = FALSE, inv.y = FALSE, ...)

Arguments

x

A object of class CrossTable.

xlab

See plot.default.

ylab

See plot.default.

main

See plot.default and title.

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.

Author(s)

Jakson A. Aquino jalvesaq@gmail.com

See Also

CrossTable, crosstab.


[Package descr version 1.1.8 Index]