Skip to contents

Wrapper function around `run_mse` and `run_mse_parallel` that allows for simple running of MSE simulations across multiple OMs and HCRs (and combinations of the two). The wrapper relies on using `expand.grid` to create a factorial combination of OMs and HCRs and runs MSE simulations across all such combinations.

Usage

run_mse_multiple(
  om_list,
  hcr_list,
  seed_list,
  mse_options_list,
  nyears,
  diagnostics = FALSE,
  save = FALSE
)

Arguments

om_list

named list of operating model list objects

hcr_list

named list of harvest control rule list objects

seed_list

vector of random seeds

mse_options

list of mse_options objects to apply to each OM. Must be either length 1, or length == length(om_list).

...

additional parameters to pass to the `run_mse` call

Value

list of MSE simualtion results