vcdinteractive: Interactive Displays for Visualizing Categorical Data

Interactive versions of the displays of the 'vcd' and 'vcdExtra' packages, rendered as 'htmlwidgets'. Mosaic, association, sieve and doubledecker plots share one widget, in which variables can be reordered, added or removed and split directions changed on the fly, tiles report observed and expected counts on hover, several kinds of residuals (Pearson, adjusted standardized, deviance, Freeman-Tukey, Anscombe and residuals from a robust fit) can be used for shading, and log-linear models can be compared. Cells that depart significantly from the model are listed with multiplicity-adjusted p-values. Further widgets provide pairwise mosaic matrices with linked highlighting, fourfold displays with log odds ratio plots, rootograms for discrete distributions, spinograms and conditional density plots, correspondence analysis maps and association graphs. The displays follow the strucplot framework of Meyer, Zeileis and Hornik (2006) <doi:10.18637/jss.v017.i03> and Friendly and Meyer (2016, ISBN: 9781498725835).

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: htmlwidgets, stats, grDevices, utils
Suggests: vcd, vcdExtra, ca, gnm, robustbase, shiny, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-11-26
DOI: 10.32614/CRAN.package.vcdinteractive (may not be active yet)
Author: Antonio Irpino [aut, cre]
Maintainer: Antonio Irpino <antonio.irpino at unicampania.it>
BugReports: https://github.com/Airpino/vcdinteractive/issues
License: GPL-2 | GPL-3
URL: https://github.com/Airpino/vcdinteractive
NeedsCompilation: no
Language: en-GB
Materials: NEWS
CRAN checks: vcdinteractive results

Documentation:

Reference manual: vcdinteractive.html , vcdinteractive.pdf
Vignettes: Spinograms and conditional density plots (source, R code)
Correspondence analysis maps and association graphs (source, R code)
Fitting discrete distributions: interactive rootograms (source, R code)
Pairwise mosaic matrices and fourfold displays (source, R code)
Residuals for mosaic plots (source, R code)
Association, sieve and doubledecker plots; comparing models (source, R code)
Simpson's paradox in the UC Berkeley admissions data (source, R code)

Downloads:

Package source: vcdinteractive_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=vcdinteractive to link to this page.