TheseusPlot: Visualizing Decomposition of Differences in Rate Metrics

Provides tools for decomposing differences in rate metrics between two groups into contributions from individual subgroups and visualizing them as a "Theseus Plot". Inspired by the story of the Ship of Theseus, the method replaces subgroup data from one group with that of another step by step, recalculating the overall metric at each stage to quantify subgroup contributions. A Theseus Plot combines the stepwise progression of a waterfall plot with the comparative bars of a bar chart, offering an intuitive way to understand subgroup-level effects.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: dplyr, ggplot2, forcats, memoise, R6, rlang, stats, stringr, tibble, tidyr, waterfalls
Suggests: nycflights13
Published: 2025-08-28
Author: Koji Makiyama [aut, cre, cph], Shinichi Takayanagi [med], Daisuke Ichikawa [exp], LY Corporation Analytics Solution Enhancement Team [spn]
Maintainer: Koji Makiyama <hoxo.smile at gmail.com>
BugReports: https://github.com/hoxo-m/TheseusPlot/issues
License: MIT + file LICENSE
URL: https://github.com/hoxo-m/TheseusPlot
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: TheseusPlot results

Documentation:

Reference manual: TheseusPlot.html , TheseusPlot.pdf

Downloads:

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

Linking:

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