struc_mosaic {vcd}R Documentation

Core-generating Function for Mosaic Plots

Description

Core-generating function for strucplot returning a function producing mosaic plots.

Usage

struc_mosaic(zero_size = 0.5)

Arguments

zero_size size of the bullets used for zero-entries in the contingency table (if 0, no bullets are drawn).

Details

This function is usually called by strucplot (typically when called by mosaic) and returns a function used by strucplot to produce mosaic plots.

Value

A function with arguments:

residuals table of residuals.
observed table of observed values.
expected not used by struc_mosaic.
spacing object of class "unit" specifying the space between the tiles.
gp list of gpar objects used for the drawing the tiles.
split_vertical vector of logicals indicating, for each dimension of the table, the split direction.

Author(s)

David Meyer David.Meyer@R-project.org

References

Cohen, A. (1980), On the graphical display of the significant components in a two-way contingency table. Communications in Statistics—Theory and Methods, A9, 1025–1041.

Friendly, M. (1992), Graphical methods for categorical data. SAS User Group International Conference Proceedings, 17, 190–200. http://www.math.yorku.ca/SCS/sugi/sugi17-paper.html

See Also

mosaic, strucplot, structable


[Package vcd version 0.9-7 Index]