Skip to contents

Compute average annual value of landed catch (median and CIs) per year across all years and simulation seeds, for each combination of operating models and management procedures. Fish >9yo are considered "high value" and are assigned a relative value of 1, fish 5-9yo are considered "medium value" and are asisgned a relative value of 0.556, and fish <5yo are considered "low value" and are assigned a relative valye of 0.337.

Usage

average_annual_value(
  model_runs,
  extra_columns,
  interval_widths = c(0.5, 0.8),
  time_horizon = c(65, NA),
  extra_filter = NULL,
  relative = NULL,
  summarise_by = c("om", "hcr")
)

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)

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