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.

Getting started

Package details

AuthorKoji Makiyama [aut, cre, cph], Shinichi Takayanagi [med], Daisuke Ichikawa [exp], LY Corporation Analytics Solution Enhancement Team [spn]
MaintainerKoji Makiyama <hoxo.smile@gmail.com>
LicenseMIT + file LICENSE
Version0.1.1
URL https://github.com/hoxo-m/TheseusPlot
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("TheseusPlot")

Try the TheseusPlot package in your browser

Any scripts or data that you put into this service are public.

TheseusPlot documentation built on Aug. 28, 2025, 9:09 a.m.