run_regularization: Run MCMC using adnuts for SS3

View source: R/run_regularization.r

run_regularizationR Documentation

Run MCMC using adnuts for SS3

Description

Run MCMC using adnuts for SS3

Usage

run_regularization(
  dir_wd,
  model = "ss3",
  extension = ".exe",
  interactive = FALSE,
  verbose = FALSE
)

Arguments

dir_wd

A file path to the directory where the model files and the executable are saved. This can be relative to your current working directory or a full path. Your working directory will be changed while executing the function to be inside the location provided in this argument but upon exiting it will return to your current working directory.

model

A string giving the name of the executable without an an extension. The extension is provided in extension. Do not include any path information, just the name of the executable. For example, the default is "ss3".

extension

A string giving the extension for the executable name provided in model. The default is .exe, which works on Windows machines.

interactive

A logical, where TRUE will run adnuts::launch_shinyadmb(). The default is FALSE.

verbose

A logical, specifying if information should be printed to the screen. The default is FALSE but using TRUE can be helpful when you are first running the function or when you have a very unstable model.

Author(s)

Cole M. Monnahan (cole.monnahan@noaa.gov; February 2021) and augmented by Kelli F. Johnson


nwfsc-assess/PEPtools documentation built on Nov. 7, 2023, 1:33 p.m.