Type: Package
Package: TheseusPlot
Title: Visualizing Decomposition of Differences in Rate Metrics
Version: 0.2.0
Authors@R: c(
    person("Koji", "Makiyama", , "hoxo.smile@gmail.com", role = c("aut", "cre", "cph")),
    person("Kazuyuki", "Sano", role = c("ctb", "wdc")),
    person("Shinichi", "Takayanagi", , "shinichi.takayanagi@gmail.com", role = "med"),
    person("Daisuke", "Ichikawa", role = "exp"),
    person("LY Corporation Analytics Solution Enhancement Team", role = "spn")
  )
Description: 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.
License: MIT + file LICENSE
URL: https://github.com/hoxo-m/TheseusPlot,
        https://hoxo-m.github.io/TheseusPlot/
BugReports: https://github.com/hoxo-m/TheseusPlot/issues
Depends: R (>= 4.1.0)
Imports: dplyr, forcats, ggplot2, memoise, R6, rlang, stats, stringr,
        tibble, tidyr, waterfalls
Suggests: knitr, nycflights13, rmarkdown, testthat (>= 3.0.0)
Encoding: UTF-8
RoxygenNote: 7.3.3
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-04-09 17:26:02 UTC; akagi
Author: Koji Makiyama [aut, cre, cph],
  Kazuyuki Sano [ctb, wdc],
  Shinichi Takayanagi [med],
  Daisuke Ichikawa [exp],
  LY Corporation Analytics Solution Enhancement Team [spn]
Maintainer: Koji Makiyama <hoxo.smile@gmail.com>
Repository: CRAN
Date/Publication: 2026-04-09 17:40:02 UTC
Built: R 4.6.0; ; 2026-04-23 03:20:54 UTC; windows
