coda.samples {rjags} | R Documentation |
This is a wrapper function for jags.samples
which sets a trace
monitor for all requested nodes, updates the model, and coerces the
output to a single mcmc.list
object.
coda.samples(model, variable.names, n.iter, thin = 1, ...)
model |
a jags model object |
variable.names |
a character vector giving the names of variables to be monitored |
n.iter |
number of iterations to monitor |
thin |
thinning interval for monitors |
... |
optional arguments that are passed to the update method for jags model objects |
An mcmc.list
object.
Martyn Plummer