ggfourfold: Fourfold Displays for 'ggplot2'

Draws fourfold displays of 2 x 2 (x k) contingency tables as a 'ggplot2' layer, following Friendly (1994) <https://datavis.ca/papers/4fold/4fold.pdf> and Friendly and Meyer (2016) <doi:10.1201/9781315374413>. Cell frequencies are shown as quarter-circles or squares of proportional area, with confidence rings for the odds ratio and shading for the direction and strength of association. Stratified tables are shown with 'ggplot2' faceting and a corresponding 'ggplot2' theme is provided.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: ggplot2 (≥ 4.0.0), grDevices, grid, stats
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), vcd
Published: 2026-10-21
DOI: 10.32614/CRAN.package.ggfourfold (may not be active yet)
Author: Gavin Klorfine ORCID iD [aut, cre, cph], Michael Friendly ORCID iD [aut]
Maintainer: Gavin Klorfine <gklorfin at yorku.ca>
BugReports: https://github.com/gklorfine/ggfourfold/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://gavinklorfine.com/ggfourfold/, https://github.com/gklorfine/ggfourfold
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: ggfourfold results

Documentation:

Reference manual: ggfourfold.html , ggfourfold.pdf
Vignettes: Fourfold Displays for 'ggplot2' (source, R code)

Downloads:

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

Linking:

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