jags_plist | R Documentation |
Extracts a list of matrices, one for each saved parameter node. Each list element will be all posterior samples from that parameter node, arranged in a matrix with a column associated with each MCMC chain and a row for each MCMC iteration.
jags_plist(x, p = NULL, exact = FALSE)
x |
|
p |
String to subset parameter names, if a subset is desired |
exact |
Whether |
A list
with an element associated with each parameter. Each element
will be a matrix with a column associated with each MCMC chain and a row for
each MCMC iteration.
It is unlikely that a user will need this function; it is included primarily as a helper function used by other functions in this package.
Matt Tyers
out_plist <- jags_plist(asdf_jags_out)
str(out_plist)
a_plist <- jags_plist(asdf_jags_out, p=c("a","sig_a"))
str(a_plist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.