run_proj_seq | R Documentation |
This function runs a sequence of projections with run_proj
, and estimation
with run_bam
, to build long-term closed-loop simulations. If a single
dat
object is provided, it will run a single deterministic projection.
If a list of dat
objects is provided, for example as output from
run_MCBE(run_est=FALSE)
, the function will run
multiple projections in parallel.
run_proj_seq(
CommonName = NULL,
fileName = "bam",
dat_obj = NULL,
tpl_obj = NULL,
cxx_obj = NULL,
rdat_obj = NULL,
run_proj_args = list(),
nyps = NULL,
plot_type = "final",
write_bam_files = "final",
parallel = TRUE,
ncores = NULL
)
CommonName |
Common name of species associated with dat, tpl, and cxx files |
fileName |
Name given to BAM files, not including file extensions. |
dat_obj |
dat file read in as a character vector with readLines(con=dat_file) |
tpl_obj |
tpl file read in as a character vector with readLines(con=tpl_file) |
cxx_obj |
cxx file read in as a character vector with readLines(con=cxx_file) |
run_proj_args |
List of arguments to pass to |
nyps |
Total number of years to project which may include multiple assessment cycles. nyps = Number of Years to Project in Sequence |
plot_type |
Indicate which bam results should be plotted by calling |
write_bam_files |
indicate which bam files should be written. Current options include "all", "final", or "none", to write files from all stock assessments in the projection sequence, the final assessment, or none of the assessments. |
parallel |
logical. Should parallel processing be used? This setting is
only used when |
ncores |
number of cores to use for parallel processing |
rdat |
(list) object read in with dget(). Specifically, the BAM output file produced by the cxx file. |
By default, returns the bam model object from the end of the projection sequence.
Nikolai Klibansky
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.