View source: R/run_sensitivities.R
run_sensitivities | R Documentation |
Run sensitivities for a base model
run_sensitivities(
dirbase,
type = c("profile", "retro", "regularization", ),
numbers = 1:999,
extras = "-nox -nohess -cbs 1500000000",
skipfinished = TRUE
)
dirbase |
The directory that has the base-model files. This path needs to be full or relative to your current location. |
type |
The type of sensitivity you want to run. Options are "profile", "retro", "regularization", "sens_create", and "sens_run". |
numbers |
Numbers of specific sensitivities to create or run. |
extras |
additional arguments after the "ss" command passed to 'r4ss::run_SS_ |
skipfinished |
skip directories with existing Report.sso files
(passed to |
dir |
the source model directory |
num |
the senstiviity number as represented in sensitivity.csv |
suffix |
a string to append to the new path wrapper for r4ss::copy_SS_inputs() with defaults for run_sensitivies() convert values from the CSV file into format required by r4ss::SS_changepars(), including splitting multiple entries |
Kelli Faye Johnson, Ian G. Taylor
## Not run:
dirbase <- get_dir_ling(area = area, num = 14, sens = 1)
run_sensitivities(dirbase, c("profile", "retro", "regularization"))
run_sensitivities(get_dir_ling("n", 22),
type = "sens_create",
numbers = c(102, 104))
run_sensitivities(get_dir_ling("s", 14),
type = c("sens_run", "sens_create"),
numbers = c(303:320))
## End(Not run)
create a path associated with a particular sensitivity
by converting a source directory, like
"2021.n.016.001_tune" to a sensitivity path like
"2021.n.016.101_shareM".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.