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
Methods
Inherited methods
jmvcore::Analysis$.createImage()jmvcore::Analysis$.createImages()jmvcore::Analysis$.createPlotObject()jmvcore::Analysis$.load()jmvcore::Analysis$.render()jmvcore::Analysis$.save()jmvcore::Analysis$.savePart()jmvcore::Analysis$.setCheckpoint()jmvcore::Analysis$.setParent()jmvcore::Analysis$.setReadDatasetHeaderSource()jmvcore::Analysis$.setReadDatasetSource()jmvcore::Analysis$.setResourcesPathSource()jmvcore::Analysis$.setStatePathSource()jmvcore::Analysis$addAddon()jmvcore::Analysis$asProtoBuf()jmvcore::Analysis$asSource()jmvcore::Analysis$check()jmvcore::Analysis$init()jmvcore::Analysis$optionsChangedHandler()jmvcore::Analysis$postInit()jmvcore::Analysis$print()jmvcore::Analysis$readDataset()jmvcore::Analysis$run()jmvcore::Analysis$serialize()jmvcore::Analysis$setError()jmvcore::Analysis$setStatus()jmvcore::Analysis$translate()ClinicoPath::riverplotBase$initialize()