setup_admb: ADMB setup

View source: R/admbutils.R

setup_admbR Documentation

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


marked documentation built on Oct. 19, 2023, 5:06 p.m.