Description Usage Arguments Value Author(s) See Also Examples
View source: R/expand_scenarios.r
Create vectors of scenarios from case letters, case numbers,
and species codes. Scenarios are passed to
run_ss3sim
and get_results_all
.
Case letters 'D' and 'F' are mandatory and provide the data
sampling and fishing history for the operating model.
1 2 | expand_scenarios(cases = list(D = 0, E = 0, F = 0, M = 0, R = 0),
species = c("cod", "fla", "sar"))
|
cases |
A named list of cases. The names in the list are the case IDs and the values are the case values. |
species |
Vector of 3-letter character IDs designating the species/stock. |
A character vector of scenario IDs. The case IDs will be alphabetically sorted.
Cole Monnahan and Sean C. Anderson
1 2 3 | expand_scenarios()
expand_scenarios(cases = list(D = 0:3, E = 0, F = 0, M = 0, R = 0),
species = "cod")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.