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

Description Usage Arguments Value Author(s)

View source: R/do_admb.R

Description

A helper function

Usage

1
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

Author(s)

Ben Bolker


R2admb documentation built on May 2, 2019, 5:19 p.m.