Learn R Programming

marked (version 1.2.8)

setup_admb: ADMB setup

Description

Sets up executable for the tpl file by looking for exe in package directory or compiles tpl file in local directory (clean=F) of from package directory. If admb cannot be found will attempt to run prepare_admb function (if exists) to establish connections for compilation.

Usage

setup_admb(tpl, compile = FALSE, clean = TRUE, safe = TRUE, re = FALSE)

Arguments

tpl

character string for admb template file

compile

if TRUE forces re-compilation of tpl file

clean

if TRUE, deletes the tpl and executable files for amdb in local directory

safe

can be used to set safe mode for admb

re

uses admb-re if TRUE for random effects