Skip to contents

Comprehensive river plot, alluvial diagram, and stream chart visualization for categorical flow analysis. Combines functionality for temporal flows, individual entity tracking, aggregate trends, and multi-stage pathways. Supports both longitudinal (long format) and cross-sectional (wide format) data.

Details

This unified implementation supports multiple visualization types:

  • Alluvial diagrams: Flowing streams with curved connections

  • Sankey diagrams: Directed flows with straighter connections

  • Stream charts: Aggregate category trends over time

  • Flow diagrams: Individual entity tracking through stages

Data format flexibility:

  • Long format: Time variable + single categorical variable

  • Wide format: Multiple categorical variables as stages

  • Individual tracking: Optional ID variable for entity-level flows

  • Weighted flows: Optional weight variable for proportional sizing

Super classes

jmvcore::Analysis -> ClinicoPath::riverplotBase -> riverplotClass