retentionflow: Retention Flow Tables and Sankey Diagrams

Creates transition tables, summaries, and interactive Sankey diagrams from longitudinal person-term-state data. Sankey diagrams visualize flows between states with link widths proportional to flow counts; see Kennedy and Sankey (1898) "The Thermal Efficiency of Steam Engines" <doi:10.1680/imotp.1898.19100> and Schmidt (2008) "The Sankey Diagram in Energy and Material Flow Management: Part I: History" <doi:10.1111/j.1530-9290.2008.00004.x>. The minimum input schema is one row per person per term with an identifier, term, and categorical state.

Version: 0.1.25
Depends: R (≥ 4.1.0)
Suggests: htmlwidgets, plotly, testthat (≥ 3.0.0)
Published: 2026-07-16
DOI: 10.32614/CRAN.package.retentionflow (may not be active yet)
Author: Alexander Nanni [aut, cre]
Maintainer: Alexander Nanni <alexander.nanni at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: retentionflow results

Documentation:

Reference manual: retentionflow.html , retentionflow.pdf

Downloads:

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

Linking:

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