Run Multiple ADMB Models in Parallel
run_model.Rd
This function uses parallel processing to run multiple ADMB models and gather their outputs. After running the models, it also fetches certain variables from a 'proj/spm_detail.csv' file associated with each model.
Usage
run_model(
moddir = mod_dir,
rundir = "runs",
modnames = mod_names,
Output = TRUE,
run_on_mac = TRUE
)
Arguments
- moddir
Character vector. The directory paths for the models, default is
mod_dir
.- rundir
Character string. The base run directory path for the models, default is
runs
.- modnames
Character vector. The names of the models, default is
mod_names
.- Output
Logical. A flag indicating if any output should be displayed (e.g., messages, progress, etc.), default is
FALSE
.