Skip to contents

Renders a Sankey-style alluvial diagram showing how cells move between vegetation types (leading species or community labels) across user-specified snapshot years.

Usage

plot_transitions(lodes_df, colours = NULL, title = NULL)

Arguments

lodes_df

tibble in lodes form as returned by transition_data().

colours

Named character vector mapping label names to hex colours. If NULL (default), a built-in qualitative palette is used.

title

Character. Plot title (default: NULL -> no title).

Value

A ggplot object.

Details

The width of each band is proportional to the mean number of cells that follow that transition path (averaged across replicates).