jags_df {jagshelper} | 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
out_df <- jags_df(asdf_jags_out)