Learn R Programming

R2admb (version 0.7.13)

run.control: set run options for running ADMB via R

Description

A helper function

Usage

run.control(check_tpl = TRUE, write_files = TRUE, checkparam = c("stop", "warn", "write", "ignore"), checkdata = c("stop", "warn", "write", "ignore"), compile = TRUE, run = TRUE, read_files = TRUE, clean_files = "all")

Arguments

check_tpl
Check the specified TPL file for problems?
write_files
Write out data and initialization files?
checkparam
How to check PARAMETERS section of the TPL file: stop=stop if there are problems; warn=give a warning if there are problems, but try to proceed; write=modify TPL file, writing appropriate sections; ignore=assume TPL file is OK, proceed
checkdata
as with checkparam: how/whether to check/generate the DATA section of the TPL file
compile
compile the TPL file (via ADMB) into an executable?
run
run the executable file with the specified data/initial values?
read_files
read the results of an ADMB run into R?
clean_files
Delete working files after completion of the run? Options are "all", "sys", "output", "none"; TRUE is equivalent to "all" and FALSE is equivalent to "none"

Value

A list with appropriate default values inserted for passing to do_admb