Skip to content

vcdExtra

0.9.8Package record

'vcd' Extensions and Additions

3packages dependsuggested by 8
88.5Kdownloads / year
27.2%test coverage
7/13flavors OK

Overview

About

Provides additional data sets, methods and documentation to complement the 'vcd' package for Visualizing Categorical Data and the 'gnm' package for Generalized Nonlinear Models. In particular, 'vcdExtra' extends mosaic, assoc and sieve plots from 'vcd' to handle 'glm()' and 'gnm()' models and adds a 3D version in 'mosaic3d'. Additionally, methods are provided for comparing and visualizing lists of 'glm' and 'loglm' objects. This package is now a support package for the book Friendly, M. and Meyer, D. (2016, ISBN:978-1-4987-2583-5) 'Discrete Data Analysis with R: Visualization and Modeling Techniques for Categorical and Count Data'. Recent work adds colorized tables of frequencies to highlight patterns of association, association graphs to visualize conditional independence and a variety of new or improved statistical tests for categorical data analysis.

Changes in 0.9.8

This is a significant release, with a number of new features, notably plotting

logistic regression models with display of marginal distributions of x,

and term-level tests for loglinear models.

  • Summarise() is now formally deprecated (.Deprecated("LRstats")), in favor of LRstats(), which provides the same brief model-fit comparison. Summarise()'s capitalized name reads as an easy-to-mistype near-collision with dplyr::summarise(), which vcdExtra also imports internally; LRstats() has been the recommended replacement since 0.6-5 but was never actually wired up to warn. See ?vcdExtra-deprecated.
  • Added logist_plot() for plotting a glm(y ~ x, family = binomial) fit for a single quantitative predictor together with a representation of the marginal distribution of x within each response group -- mirrored histograms, filled density estimates, or jittered points -- as suggested by Smart et al. (2004). Supports vector, data frame, and formula calling conventions; an optional group= for grouped fits and marginals with per-group colours; and fit.args=/marginal.args=/marginal.height= for layer-level customization beyond the fit.color=/marginal.color= convenience arguments. logist_hist(), logist_point(), and logist_density() are convenience wrappers with marginal= fixed to "hist"/"points"/"density". Work by Gavin Klorfine.
Show all changes in 0.9.8Hide the rest of the changes in 0.9.8
  • Fixed bug in CMHtest3() (the internal overall = TRUE helper) which suppressed Df and Prob (p-value) for the overall population results whenever types was not the full default set of four (#2, reported by @bill-raynor and @imazubi; fix by @danielinteractive in #26).
  • Added drop1.loglm(), LRanova(), and assoc_strength() for term-level analysis of loglm models. drop1.loglm() (registered as an S3 method for stats::drop1(), and also directly callable by name) performs single-term deletion tests for a model's generating class, refitting via update() and reporting both LR (G^2) and Pearson (X^2) statistics per term.
  • LRanova() wraps it with a partial R^2 effect-size column relative to a (nesting-checked) baseline model.
  • assoc_strength() wraps it with a partial Cramer's V / Cohen's w effect-size column, generalized to terms of any order. The fitted models underlying each test are attached as a loglmlist (attr(., "models")), reusable directly with mosaic(), LRstats(), and get_models() without refitting.

From NEWS.md in the release

Install

Health

CRAN checks
6NOTE7OK
Check messages
NOTERd cross-referencesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Unknown package ‘Fahrmeir’ in Rd xrefs

r-devel-linux-x86_64-fedora-clang

Undeclared package ‘DescTools’ in Rd xrefs
Unknown package ‘Fahrmeir’ in Rd xrefs

CRAN check page ↗

Slowest check: 6.8 min · r-oldrel-windows-x86_64
Status changes
  • NOTE7 OK, 6 NOTENow
  • NOTE11 OK, 2 NOTE2026-10-13
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
Show 1 earlier changeHide 1 earlier change
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.9.8
README· In the repository, left out of the releaseVignettesYes · 10 · dynamicNEWSYes · 100% structured · mentions 0.9.8Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
93 (1 internal)includes a package overview page
Examples that run
99%90 run in a plain check (2 of them under a condition) · 1 never run
Exported functions with examples
97%
Documented parameters
96%
Return-value docs
97%
Help pages citing references
54%

Also includes 11 demo scripts (run with demo())

Downloads

88.5K
CRAN downloads in the past year
Rank #1,429 · ~243/day · ~7.4K/mo
Daily download trend is not available in this view yet.
6.2K30 days
18.7K90 days
88.5K1 year
Compare downloads with other packages →
Also on604 r2u221 autocran4.3K conda_forge106 c2d4u

Repository

28Stars
9Forks
5Open issues
0Open PRs
10Releases
1,069Commits
9Commit identities
categorical-data-visualizationgeneralized-linear-modelsmosaic-plotsr-package
1,069 commits · Last activity 2026-09-24 · 0% stars, 30d · Default branch at 0.9.9, ahead of CRAN 0.9.8 (checked 2026-10-25)
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
130
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-03-17 · 242026-07-07 · 28
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/friendly/vcdextra on 2026-10-25.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-24 · The repository has a site deploy workflow

pkgdown site last built 2026-09-24

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (2)
AirVS Code
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-12-08
    Named in .Rbuildignore: .claude
    Named in .gitignore: .claude
    Commits: at least 31 crediting it in the message
Models named in its commits
  • Claude Sonnet 520 commits · Jul to Aug 2026
  • Claude Opus 4.58 commits · Jan 2026
  • Claude Opus 4.62 commits · Feb 2026
  • Claude Sonnet 4.51 commit · Dec 2025
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
37 external dependencies (excludes base and recommended)

Installing vcdExtra adds 81 packages (40 with compiled code, 59 MB of source tarballs). Heaviest: ggplot2 6.0 MB, bslib 5.6 MB, igraph 4.8 MB.

Depends (3)
R >= 4.1.0vcdgnm
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
1indirect
Imports 3
Suggested by 8
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (10)
Author, Maintainer · added in 0.5-5
Author · added in 0.9.3
Contributor
Contributor · added in 0.7-6
Contributor · added in 0.8-2
Contributor · added in 0.5-0
Contributor · added in 0.8.7
Contributor · added in 0.7-6
Contributor · added in 0.5-5
Contributor

Maintainer since 0.4-0 (2010)

Listed in earlier versions (1)
Michael Friendly with Heather Turner
no longer listed · 0.4-0 to 0.5-4
Releases (38)

Pick two releases to compare their code metrics.

  • 0.9.8Latest
    record
    2026-08-21 · current release · diff ↗ ·
    added 7 exports
    LRanova, assoc_strength, drop1.loglm, logist_density, logist_hist, logist_plot, logist_point
  • 0.9.7
    record
    2026-08-03 · diff ↗ ·
    added 1 export
    breslow_day_test
  • 0.9.6
    record
    2026-06-07 · diff ↗ ·
    added 2 exports
    as_matrix, collapse_levels
  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.3
    record
    2026-03-18 · diff ↗ ·
    added 7 exports
    as_array, as_caseform, as_freqform, as_table, assoc_graph, knit_include, pairs_diagonal_mosaic
  • 0.9.1
    record
    2026-02-09 · diff ↗ ·
    added 4 exports
    color_table, get_model, get_models, labeling_points
  • 0.9.0
    record
    2026-01-21 · diff ↗ ·
    added 1 export
    woolf_test
  • 0.8.7
    record
    2025-12-11 · diff ↗ ·
    removed 9 exports
    mosaic.glm, sieve.glm, assoc.glm, modFit.glm, modFit.loglm, print.GKgamma, summarise, logLik.loglm, HosmerLemeshow
  • 0.8-6
    record
    2025-07-24 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.8-5
    record
    2023-08-22 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.8-4
    record
    2023-04-16 · diff ↗
  • 0.8-3
    record
    2023-03-05 · diff ↗
  • 0.8-2
    record
    2023-01-29 · diff ↗
Show 42 earlier eventsHide 42 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 0.8-0
    record
    2022-04-21 · diff ↗
  • 0.7-6
    record
    2022-02-14 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.7-5
    record
    2021-01-25 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.7-1
    record
    2017-09-29 · diff ↗ ·
    added 1 export
    zero.test
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.7-0
    record
    2016-02-25 · diff ↗ ·
    added 2 exports
    mcaplot, update.xtabs
  • 0.6-12
    record
    2015-12-23 · diff ↗
  • 0.6-11
    record
    2015-09-17 · diff ↗
  • 0.6-9
    record
    2015-07-11 · diff ↗
  • 0.6-8
    record
    2015-04-16 · diff ↗ ·
    removed 2 exports
    print.Kappa, loddsratio
  • R
    R 3.2.0 released · 2015-04-16
  • 0.6-5
    record
    2015-01-03 · diff ↗ ·
    added 1 export
    LRstats
  • 0.6-3
    record
    2014-11-01 · diff ↗ ·
    removed 1 export
    as.array
    added 2 exports
    Summarise, cutfac
  • 0.6-1
    record
    2014-06-10 · diff ↗ ·
    added 2 exports
    logLik.loglm, blogits
  • R
    R 3.1.0 released · 2014-04-10
  • 0.6-0
    record
    2014-03-08 · diff ↗ ·
    added 5 exports
    dlogseries, plogseries, qlogseries, rlogseries, seq_mosaic
  • 0.5-11
    record
    2013-09-16 · diff ↗ ·
    added 8 exports
    conditional, joint, markov, mutual, saturated, loglin2formula, loglin2string, seq_loglm
  • 0.5-10
    record
    2013-06-30 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.5-7
    record
    2013-03-05 · diff ↗
  • 0.5-6
    record
    2013-02-28 · diff ↗ ·
    added 3 exports
    HLtest, HosmerLemeshow, CMHtest
  • 0.5-5
    record
    2012-11-03 · diff ↗
  • 0.5-4
    record
    2012-08-01 · diff ↗ ·
    removed 1 export
    meanResiduals
  • 0.5-3
    record
    2012-05-08 · diff ↗ ·
    removed 1 export
    aperm
  • R
    R 2.15.0 released · 2012-03-30
  • 0.5-2
    record
    2012-01-15 · diff ↗ ·
    removed 1 export
    summarize
    added 4 exports
    summarise, loddsratio, as.array, aperm
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • 0.5-1
    record
    2010-11-29 · diff ↗ ·
    added 3 exports
    Crossings, meanResiduals, datasets
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 0.5-0
    record
    2010-04-16 · diff ↗ ·
    added 5 exports
    mosaic3d, split3d, range3d, center3d, Kway
  • 0.4-2
    record
    2010-03-18 · diff ↗ ·
    added 3 exports
    glmlist, loglmlist, summarize
  • 0.4-1
    record
    2010-03-07 · diff ↗ ·
    added 5 exports
    sieve.glm, assoc.glm, modFit, modFit.glm, modFit.loglm
  • 0.4-0
    record
    2010-02-28
  • R
    R 2.10.0 released · 2009-10-26

Package metadata

First published
2010-02-28
Total releases
38 / 16 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
33 KB / 48 files
Download size
5.4 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("vcdExtra")
Friendly, M., Firth, D., Klorfine, G., Kumar, M., Meyer, D., Murdoch, D., Sabanes Bove, D., Sun, S., Turner, H., & Zeileis, A. (2026). vcdExtra: 'vcd' Extensions and Additions (Version 0.9.8) [Computer software]. https://doi.org/10.32614/CRAN.package.vcdExtra

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for vcdExtra version 0.9.8 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy