run_mses | R Documentation |
Run the MSE for a number of runs for any scenarios
run_mses(
n_runs = 10,
n_sim_yrs = NULL,
fns = NULL,
plot_names = NULL,
tacs = c(0, 1),
attains = c(1, 1),
c_increases = 0,
m_increases = 0,
sel_changes = 0,
n_surveys = 2,
b_futures = 0.5,
random_seed = 12345,
single_seed = NULL,
results_root_dir = here("results"),
results_dir = here("results", "default"),
catch_floor = NULL,
hcr_apply = FALSE,
...
)
n_runs |
Then number of runs to do for each simulation |
n_sim_yrs |
The number of years to simulate into the future |
fns |
A vector of file names for the scenarios (.rds files). .rds extension is optional |
plot_names |
A vector of strings to use for the scenarios later when plotting. Must either be
|
tacs |
A vector of TAC values to be passed to the |
attains |
A vector of 2, in the order Canada, US for proportion of catch to include |
c_increases |
Increase in max movement. A vector of values to be passed to the |
m_increases |
Decrease of spawners returning south. A vector of values to be passed to the
|
sel_changes |
Selectivity scenario change type. A vector of values to be passed to the
|
n_surveys |
The number of surveys for each run. This must be a vector of the same length as |
b_futures |
A vector of values to be passed to the |
random_seed |
A seed value to use when calling for all random functions |
single_seed |
If NULL, ignore. If a number, use that as a seed to run a single run of the MSE. User for testing. |
results_root_dir |
The results root directory |
results_dir |
The results directory |
catch_floor |
The lowest value to allow catch to drop to when applying the tac rule for the catch floor |
... |
Arguments passed to |
Saves the output of the MSE runs to the files specified in fns
,
in the directories specified in results_root_dir
and results_dir
Nothing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.