Mosaic plots in the 'ggplot2' framework. Mosaic plot functionality is provided in a single 'ggplot2' layer by calling the geom 'mosaic'. This extends the now-defunct 'ggmosaic' package by allowing fitted loglinear models which can be used to show patterns of association among variables in frequency tables.
| Version: | 0.5.1 |
| Depends: | ggplot2 (≥ 4.0.0), R (≥ 4.1.0) |
| Imports: | productplots, dplyr, plotly (≥ 4.9.3), purrr, rlang, tidyr, ggrepel, scales, withr (≥ 2.5.0) |
| Suggests: | gridExtra, knitr, rmarkdown, shiny (≥ 1.1.0), patchwork, vcdExtra |
| Published: | 2026-09-16 |
| DOI: | 10.32614/CRAN.package.ggmosaic2 (may not be active yet) |
| Author: | Michael Friendly |
| Maintainer: | Michael Friendly <friendly at yorku.ca> |
| BugReports: | https://github.com/friendly/ggmosaic2/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://friendly.github.io/ggmosaic2/, https://github.com/friendly/ggmosaic2 |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | ggmosaic2 citation info |
| Materials: | README, NEWS |
| CRAN checks: | ggmosaic2 results |
| Package source: | ggmosaic2_0.5.1.tar.gz |
| Windows binaries: | r-devel: ggmosaic2_0.5.1.zip, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): ggmosaic2_0.5.1.tgz, r-release (x86_64): ggmosaic2_0.5.1.tgz, r-oldrel (x86_64): ggmosaic2_0.5.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=ggmosaic2 to link to this page.