run_iscam: Run an iscam model through the 'base::shell()' command

View source: R/run-iscam.R

run_iscamR Documentation

Run an iscam model through the base::shell() command

Description

Run an iscam model through the base::shell() command

Usage

run_iscam(
  model_dir,
  mcmc_mode = FALSE,
  mcmc_dir = "mcmc",
  mcmc_chain_length = 500,
  mcsave = 1,
  mcscale = 0,
  maxfn = 2000,
  crit = 1e-04,
  nox = TRUE,
  ...
)

Arguments

model_dir

The directory in which the iscam model lies

mcmc_mode

Logical. TRUE means enter the mcmc_dir and run an MCMC with the remaining arguments

mcmc_dir

Directory to run the MCMC in

mcmc_chain_length

MCMC chain length

mcsave

MCMC save every mcsaveth posterior

mcscale

Scale step size for the first mcscale evaluations

maxfn

Maximum number of function evaluations

crit

Gradient convergence criterion

nox

Logical. If TRUE, do not show gradient info to the screen

...

Passed on to other functions

Value

base::invisible()


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.