jags_df | R Documentation |
Extracts the posterior samples from jagsUI
output in the form of
a data.frame
. This simpler construction has a few benefits: operations may
be more straightforward, and posterior objects will be smaller files and can be
written to an external table or .csv, etc.
jags_df(x, p = NULL, exact = FALSE)
x |
Output object from |
p |
Optional string to begin posterior names. If |
exact |
Whether name must be an exact match ( |
A data.frame
with a column associated with each parameter and a row
associated with each MCMC iteration.
Matt Tyers
pull_post
out_df <- jags_df(asdf_jags_out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.