Skip to contents

Data Preparation & Example Datasets

Functions for preparing data and example data

ecosystem_services ecosystem_services_pivot1 ecosystem_services_pivot2
Data on risks to supply ecosystem services
pivot_stages_longer()
Pivot wide data to long for plotting as Sankey

Core Plot Layers (Geoms & Positioning)

Core geometry and positioning functions for ggplots

GeomSankeysegment geom_sankeysegment() GeomSankeyedge geom_sankeyedge()
Sankey edges (flows)
GeomSankeynode geom_sankeynode()
Bars representing nodes in a Sankey diagram
PositionSankey position_sankey()
Position nodes and edges in a Sankey diagram

Scales & Keys

Functions for creating custom scales and keys

Stats & Extension Internals

Functions and internals for handling plot stats