coda.samples.dic | 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. It also converts to the output
to dic format. This function is based on the coda.samples
function
from the rjags
library, and modified by Prof. Matthias Mittner.
coda.samples.dic(model, variable.names, n.iter, thin, ...)
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 |
It returns the output to the input model object, and in dic format.
plummer2021rjagsBayesCACE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.