setup_admb function

ADMB setup

ADMB setup

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.

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
  • Maintainer: Jeff Laake
  • License: GPL (>= 2)
  • Last published: 2023-10-19

Useful links