mcarray object is used by the
to represent MCMC output from a JAGS model. It is an array with named
dimensions, for which the dimensions "iteration" and "chain" have a
## S3 method for class 'mcarray' summary(object, FUN, ...) ## S3 method for class 'mcarray' print(x, ...) ## S3 method for class 'mcarray' as.mcmc.list(x, ...)
a function to be used to generate summary statistics
additional arguments to the call
coda package defines
mcmc objects for representing
output from an MCMC sampler, and
mcmc.list for representing
output from multiple parallel chains. These objects emphasize the
time-series aspect of the MCMC output, but lose the original array
structure of the variables they represent. The
attempts to rectify this by preserving the dimensions of the original
node array defined in the JAGS model.
summary method for
mcarray objects applies the
given function to the array, marginalizing the "chain" and "iteration"
as.mcmc.list method coerces an
mcarray to an
mcmc.list object so that the diagnostics provided by the
coda package can be applied to the MCMC output it represents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.