Skip to contents

The cohort holding the most biomass on each map code of a replicate's initial communities, among cohorts of species that have both a fire tolerance and a longevity. These are the cohorts landis_overstory_mortality_share() scores. With fire_cohort_killed(), they score the share's by_class counts at any damage table without re-reading the replicate.

Usage

landis_dominant_cohorts(dir)

Arguments

dir

Character. Path to the replicate or scenario directory.

Value

A data.frame with one row per map code that has such a cohort, in map-code order: MapCode (integer), SpeciesName (character), and CohortAge, CohortBiomass, longevity and tolerance (double), and ground_fire_kill (double: the species' GroundFireKill, NA where the species table has no value or no such column). NULL when one of the three files is missing or no cohort's species is in both species files.

Details

The files are those landis_overstory_mortality_share() reads: initial-communities.csv, the core species file scenario.txt names (longevity) and the Dynamic Fire species table dynamic-fire.txt names (fire tolerance), each falling back to the LANDIS-II example's name when there is no directive to read. A species missing from either species file cannot be dominant, whatever its biomass. A tie on biomass goes to the cohort listed first.