View source: R/get_inputs_ling.R
get_inputs_ling | R Documentation |
uses either a directory (relative to the lingcod package base directory)
or a model id like "2021.s.001.001" or the combination of
year (yr
), area (area
), run number (num
), and sensitivity number
(sens
) to assemble that id, then returns a list of the results of the
r4ss::SS_read*()
functions for the four model input files.
get_inputs_ling(
area = NULL,
num = NULL,
sens = 1,
yr = 2021,
id = NULL,
dir = NULL,
ss_new = FALSE,
verbose = FALSE
)
area |
area, initially either "n" or "s" for 2021 models |
num |
base model number |
sens |
sensitivity number (assumed 1 if not specified) |
yr |
model year (assumed 2021 if not specified) |
id |
model id (like "2021.s.001.001") as an alternative to
the combination of inputs |
dir |
model directory (like "models/2021.s.001.001_new_fleets")
as an alternative to either |
ss_new |
logical controling choice between .ss_new or standard inputs |
verbose |
A logical value specifying if output should be printed
to the console or not. The default is |
Ian G. Taylor
get_dir_ling()
, write_inputs_ling()
## Not run:
get_inputs_ling(area ="s", num = 1)
get_inputs_ling(id = "2021.s.001.001")
get_inputs_ling(dir = "models/2021.s.001.001_new_fleets")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.