The Strucplot Framework: Visualizing Multi-way Contingency Tables with vcd. his paper describes the ”strucplot” framework for the visualization of multi-way contingency tables. Strucplot displays include hierarchical conditional plots such as mosaic, association, and sieve plots, and can be combined into more complex, specialized plots for visualizing conditional independence, GLMs, and the results of independence tests. The framework’s modular design allows flexible customization of the plots’ graphical appearance, including shading, labeling, spacing, and legend, by means of ”graphical appearance control” functions. The framework is provided by the R package vcd.

This software is also peer reviewed by journal JSS.