Builds the baseline operating model(s) and one per treatment, all with the
same effort noise, recruitment deviations and (when oem is given)
sampling random numbers.
Usage
run_treatment(
species,
fishery,
treatments,
nsim = 20,
oem = NULL,
iters = 1,
seed = fishery$seed,
...
)Arguments
- species
species ids or
species()objects.- fishery
a
fishery().- treatments
a
treatment()or a named list of treatments.- nsim
iterations.
- oem
optional
oem_settings(): also sample data foriters.- iters
iterations to sample.
- seed
base seed (operating models and sampling).
- ...
passed to
build_om().