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 |
DOI: |
10.32614/CRAN.package.TheseusPlot |
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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=TheseusPlot
to link to this page.