Learn R Programming

PantaRhei (version 0.1.2)

Plots Sankey Diagrams

Description

Sankey diagrams are a powerfull and visually attractive way to visualize the flow of conservative substances through a system. They typically consists of a network of nodes, and fluxes between them, where the total balance in each internal node is 0, i.e. input equals output. Sankey diagrams are typically used to display energy systems, material flow accounts etc. Unlike so-called alluvial plots, Sankey diagrams also allow for cyclic flows: flows originating from a single node can, either direct or indirect, contribute to the input of that same node. This package, named after the Greek aphorism Panta Rhei (everything flows), provides functions to create publication-quality diagrams, using data in tables (or spread sheets) and a simple syntax.

Copy Link

Version

Install

install.packages('PantaRhei')

Monthly Downloads

170

Version

0.1.2

License

EUPL

Maintainer

Patrick Bogaart

Last Published

December 18th, 2020

Functions in PantaRhei (0.1.2)

sankey

Plots a Sankey diagram
parse_palette

Parse the information from a 'palette' definition table.
MFA

Material Flow Account sample data
check_consistency

Check the consistence of the nodes, flows and palette data.frames
check_balance

Checks the mass balance of the flows involved
parse_flows

Parse the information from a 'flows' definition table.
strformat

Format a string
PantaRhei

PantaRhei: Publication-quality Sankey diagrams
parse_nodes

Parse the information from a 'nodes' definition table.