Visualizing Categorical Data
Overview
Visualization techniques, data sets, summary and inference procedures aimed particularly at categorical data. Special emphasis is given to highly extensible grid graphics. The package was package was originally inspired by the book "Visualizing Categorical Data" by Michael Friendly and is now the main support package for a new book, "Discrete Data Analysis with R" by Michael Friendly and David Meyer (2015).
- Minor bug fixes in docs and vignettes.
struc_assoc()now fixes dimname names in the table of expected values if missing.coindep_test()did wrongly try to applyaggfun()to the residuals if this was actually missing (instead of not applying it).
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-08-04
- NOTE11 OK, 2 NOTE2026-07-11
- OK13 OK2026-06-27
- WARNING12 OK, 1 WARNING2026-06-14
- OK13 OK2026-04-29
Show 2 earlier changesHide 2 earlier changes
- WARNING12 OK, 1 WARNING2026-04-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 79
- Examples that run
- 100%79 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 76%
- Return-value docs
- 84%
- Help pages citing references
- 84%
Also includes 9 demo scripts (run with demo())
Downloads
Dependencies
Installing vcd adds 3 packages (3 with compiled code, 2.9 MB of source tarballs). Heaviest: colorspace 2.0 MB, zoo 675 KB, lmtest 225 KB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
Datasets
People & History
Previously maintained by Kurt Hornik (0.1-3 to 0.1-3.5).
Pick two releases to compare their code metrics.
- 1.4-14Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.4-132024-09-16 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.4-122023-12-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.4-112023-02-01 · diff ↗
- 1.4-102022-06-09 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.4-92021-10-18 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.4-82020-09-21 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.4-72020-04-02 · diff ↗
- 1.4-62020-03-08 · diff ↗
Show 75 earlier eventsHide 75 earlier events
- 1.4-52020-01-13 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.4-4
- RR 3.4.0 released · 2017-04-21
- 1.4-3
- RR 3.3.0 released · 2016-05-03
- 1.4-12015-07-08 · diff ↗
- 1.4-02015-06-09 · diff ↗ ·
added 9 exports
loddsratio, shading_Friendly2, shading_diagonal, shading_Marimekko, cotab_loddsratio, cotab_agreementplot, binreg_plot, mplot, grid_abline - RR 3.2.0 released · 2015-04-16
- 1.3-22014-08-03 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.3-12013-09-11 · diff ↗
- 1.3-02013-09-11 · diff ↗
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- 1.2-132012-02-20 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.2-122011-09-13 · diff ↗
- 1.2-112011-05-24 · diff ↗
- 1.2-102011-05-19 · diff ↗
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- 1.2-92010-08-31 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 1.2-82010-02-08 · diff ↗
- RR 2.10.0 released · 2009-10-26
- 1.2-72009-10-19 · diff ↗
- 1.2-62009-10-13 · diff ↗
- 1.2-42009-05-09 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 1.2-32009-03-09 · diff ↗
- 1.2-22009-02-05 · diff ↗
- 1.2-12008-11-21 · diff ↗
- 1.2-02008-10-25 · diff ↗ ·
removed 6 exports
rainbow_hcl, diverge_hcl, diverge_hsv, heat_hcl, terrain_hcl, sequential_hcl - RR 2.8.0 released · 2008-10-20
- 1.1-12008-08-27 · diff ↗
- 1.12008-08-22 · diff ↗
- 1.0-10
- 1.0-92008-08-01 · diff ↗
- 1.0-82008-05-08 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 1.0-62007-10-16 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 1.0-52007-06-11 · diff ↗
- 1.0-42007-05-10 · diff ↗
- RR 2.5.0 released · 2007-04-24
- 1.0-32007-04-11 · diff ↗
- 1.0-22006-12-13 · diff ↗
- 1.0-1
- 1.0-02006-10-25 · diff ↗
- 0.9-91
- RR 2.4.0 released · 2006-10-03
- 0.9-92006-09-16 · diff ↗ ·
removed 1 export
shading_Friendly2added 6 exports
shading_sieve, heat_hcl, terrain_hcl, sequential_hcl, rbind.structable, cbind.structable - RR 2.3.0 released · 2006-04-24
- 0.9-7
- 0.9-62005-10-25 · diff ↗
- 0.9-52005-10-20 · diff ↗ ·
removed 1 export
spacing_doubledeckeradded 6 exports
spacing_highlighting, struc_sieve, pairs_diagonal_text, pairs_sieve, cotab_fourfold, is.structable - RR 2.2.0 released · 2005-10-06
- 0.9-32005-09-01 · diff ↗
- 0.9-22005-08-31 · diff ↗
- 0.9-12005-08-30 · diff ↗ ·
removed 3 exports
sieveplot, spineplot, labeling_textadded 9 exports
cd_plot, cotabplot, sieve, spine, labeling_border, cotab_mosaic, cotab_assoc, cotab_sieve, cotab_coindep - 0.9-02005-07-02 · diff ↗ ·
added 57 exports
agreementplot, assoc, distplot, doubledecker, fourfold, goodfit, mosaic, oddsratio, rootogram, sieveplot, spineplot, structable, spacing_conditional, spacing_equal, spacing_dimequal, spacing_increase, spacing_doubledecker, labeling_lboxed, labeling_text, labeling_cboxed, labeling_left, labeling_cells, labeling_conditional, labeling_list, labeling_doubledecker, legend_resbased, legend_fixed, shading_binary, shading_hcl, shading_hsv and 27 more - RR 2.1.0 released · 2005-04-18
- 0.1-3.52005-03-01 · diff ↗
- 0.1-3.42004-11-14 · diff ↗
- RR 2.0.0 released · 2004-10-04
- 0.1-3.32004-04-21 · diff ↗
- RR 1.9.0 released · 2004-04-12
- 0.1-3.22003-11-10 · diff ↗
- 0.1-3.12003-10-10 · diff ↗
- RR 1.8.0 released · 2003-10-08
- RR 1.7.0 released · 2003-04-16
- 0.1-32002-12-16
- RR 1.6.0 released · 2002-10-01
Package metadata
- First published
- 2002-12-16
- Total releases
- 57 / 24 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 2.4.0
- Bundled data
- 84 KB / 33 files
- Download size
- 654 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("vcd")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.