Package: vcdinteractive 0.1.0

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).

Authors:Antonio Irpino [aut, cre]

vcdinteractive_0.1.0.tar.gz
vcdinteractive_0.1.0.zip(r-4.7-any)vcdinteractive_0.1.0.zip(r-4.6-any)vcdinteractive_0.1.0.zip(r-4.5-any)
vcdinteractive_0.1.0.tgz(r-4.6-any)vcdinteractive_0.1.0.tgz(r-4.5-any)
vcdinteractive_0.1.0.tar.gz(r-4.7-any)vcdinteractive_0.1.0.tar.gz(r-4.6-any)
vcdinteractive_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
vcdinteractive/json (API)

# Install 'vcdinteractive' in R:
install.packages('vcdinteractive', repos = c('https://airpino.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/airpino/vcdinteractive/issues

On CRAN:

Conda:

4.59 score 1 stars 11 scripts 13 exports 26 dependencies

Last updated from:c2d1e75f92. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK157
source / vignettesOK206
linux-releaseOK167
macos-releaseOK118
macos-oldrelOK118
windows-develOK100
windows-releaseOK78
windows-oldrelOK80
wasm-releaseOK136

Exports:iassoc_graphicdplotifourfoldimcaplotimosaicimosaicOutputipairsirootogramispinemosaic_cellsrenderImosaicresidual_typessignificant_cells

Dependencies:base64encbslibcachemclidigestevaluatefastmapfontawesomefshighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclememoisemimeR6rappdirsrlangrmarkdownsasstinytexxfunyaml

Association, sieve and doubledecker plots, and comparing log-linear models
Association plot | Sieve diagram | Doubledecker plot | Comparing log-linear models | Residuals of a fitted model (glm, gnm) | References

Last update: 2026-11-02
Started: 2026-11-02

Correspondence analysis maps and association graphs
Correspondence analysis: imcaplot() | Simple correspondence analysis | Multiple correspondence analysis | Association graphs: iassoc_graph() | References

Last update: 2026-11-02
Started: 2026-11-02

Fitting discrete distributions: interactive rootograms
Rootograms | Distributions and tests | Deaths by horse kicks | The Federalist Papers | References

Last update: 2026-11-02
Started: 2026-11-02

Pairwise mosaic matrices and fourfold displays
A matrix of mosaic plots: ipairs() | Fourfold displays: ifourfold() | References

Last update: 2026-11-02
Started: 2026-11-02

Residuals for mosaic plots: definitions and when to use them
Purpose | Notation | The residuals | Pearson residuals ("pearson") | Adjusted standardized residuals ("standardized") | Deviance residuals ("deviance") | Freeman–Tukey residuals ("freeman_tukey") | Anscombe residuals ("anscombe") | Robust residuals ("robust") | Example: masking and swamping | Testing cells | Shading | Choosing a residual: summary | In the interactive plot | References

Last update: 2026-11-02
Started: 2026-11-02

Simpson's paradox in the UC Berkeley admissions data
The data | 1. The aggregated table | 2. Within departments | 3. Why the aggregate is misleading | Reference

Last update: 2026-11-02
Started: 2026-11-02

A categorical response and a numeric predictor: spinograms and conditional densities
Spinogram | Conditional density plot | Arthritis treatment | Space shuttle O-rings | A three-class response | References

Last update: 2026-11-02
Started: 2026-11-02