Compute Average Age across projection period
average_age.Rd
Compute average age (median and CIs) per year across all years and simulation seeds, for each combination of operating models and management procedures. Average age is calculated by age of individuals and is not weighted by biomass or maturity.
Arguments
- model_runs
list of completed MSE simulations runs
- extra_columns
data.frame specifying names for OM and HCR to attach to each model_run (see `bind_mse_outputs` for more details)
- hcr_filter
vector of HCR names to calculate metric over
- om_filter
vector of OM names to calculate metric over
- interval_widths
confidence intevrals to compute
- extra_filter
an additional set of filters to apply before computing medians and confidence intervals
- relative
a management procedure to compute metric relative to
- summarise_by
vector of columns to summarise metric by
- summary_out
whether to output data summarised by `ggdist` or full data
- dem_params
demographic parameters matrices from OM