# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "mosaicresid" in publications use:' type: software license: MIT title: 'mosaicresid: Residual-Shaded Mosaic Plots for ''ggplot2''' version: 0.1.1 abstract: A 'ggplot2'-native alternative to the shaded mosaic plots drawn by mosaicplot() in base 'R'. geom_mosaic_resid() maps two categorical variables with ordinary 'ggplot2' aesthetics, recursively partitions the unit square into tiles sized by their joint proportions, computes Pearson, deviance, or Freeman-Tukey residuals against a two-way independence model, and maps the residuals to fill color. It works on raw data, already aggregated counts, or contingency tables, and the tile geometry and residuals are also returned as a data frame by compute_mosaic_residuals(). authors: - family-names: Butler given-names: Sam email: swmbutler@gmail.com repository: https://cran.r-universe.dev repository-code: https://github.com/sbutler22/geom_mosaic commit: 2072620d17688069ad2b772ca381c79fc9ca189d url: https://github.com/sbutler22/geom_mosaic date-released: '2026-11-20' contact: - family-names: Butler given-names: Sam email: swmbutler@gmail.com