update.jagsUI: Update a jagsUI object

Description Usage Arguments Value

Description

Updates an object of class jagsUI for a specified number of iterations.

Usage

1
2
3
4
## S3 method for class 'jagsUI'
update(object, params = NULL, n_adapt = 100, n_iter,
  n_thin = 1, modules = c("glm", "dic"), factories = NULL,
  quiet = FALSE, ...)

Arguments

object

A model object of class jagsUI.

params

Character vector of the names of the parameters in the model which should be monitored.

n_adapt

Number of iterations to run in the adaptive phase.

n_iter

Total number of iterations per chain (*including* warm-up).

n_thin

Thinning rate. Must be a positive integer.

modules

List of JAGS modules to load before analysis.

factories

Optional character vector of factories to enable or disable, in the format <factory> <type> <setting>. For example, to turn TemperedMix on you would provide 'mix::TemperedMix sampler TRUE' (note spaces between parts). Make sure you have the corresponding modules loaded as well.

quiet

If TRUE, suppress console output.

...

Further arguments pass to or from other methods.

Value

An object of class jagsUI. Notable elements in the output object include:

samples

The original output object from the rjags package, as class mcmc.list.

summary

A summary of various statistics calculated based on model output, in matrix form.

model

The rjags model object; this will contain multiple elements if n_cores > 1.


kenkellner/jagsUI2 documentation built on July 5, 2019, 9:38 a.m.