
Leading species per cell at each snapshot
leading_species.RdFor each (replicate, Time, row, column), identifies the species with the
highest total biomass and labels that cell accordingly.
Ties are broken by alphabetical species name.
Cells where total biomass across all species is zero are labelled
"Non-vegetated" (rather than getting an arbitrary alphabetically-first
species via the tiebreaker), matching community_label()'s behaviour.
Arguments
- df
data.tableordata.frameas returned byread_biomass_c_snapshots().
Value
A tibble with columns
scenario, replicate, Time, row, column, label
where label is the leading species name (or "Non-vegetated").
See also
community_label(), plot_transitions()
Other Vegetation transition helpers:
biomass_landscape_summary(),
community_label(),
plot_species_biomass(),
plot_transitions(),
read_biomass_c_snapshots(),
read_biomass_output_rasters(),
transition_data()