A low level function to run a single chain. Unlikely to be used by a
user, instead prefer sample_admb
sample_admb_nuts(path, model, iter = 2000, init = NULL, chain = 1,
thin = 1, warmup = NULL, seed = NULL, duration = NULL,
control = NULL, verbose = TRUE, extra.args = NULL)
Path to model executable. Defaults to working directory. Often best to have model files in a separate subdirectory, particularly for parallel.
Name of model (i.e., model.tpl)
The number of samples to draw.
A list of lists containing the initial parameter vectors,
one for each chain or a function. It is strongly recommended to
initialize multiple chains from dispersed points. A of NULL signifies
to use the starting values present in the model (i.e., obj$par
)
for all chains.
Chain number, for printing purposes only.
The thinning rate to apply to samples. Typically not used with NUTS.
The number of warmup iterations.
Random seed to use.
The number of minutes after which the model will quit running.
A list to control the sampler. See details for further use.
Boolean for whether to print ADMB output to console.
Character string of extra command line argument to pass to ADMB.