Description Usage Arguments Value Examples
A simple wrapper for MCMC trace to produce jags graphcs in Rmarkdown
1 | utl_jags_trc(x, ..., excl = "deviance", ind = T, pdf = F)
|
x |
An object of class rjags (from R2jags) or jagsUI |
Returns trace plots of tracked parameters
1 2 3 4 5 6 7 8 9 10 | jags_result %>% util_jags_trc()
# plot only density
jags_result %>% utl_jags_trc(type = "density")
# produce a PDF
jags_result %>% utl_jags_trc(pdf = T)
# Exclude b0.p from the plots
jags_result %>% utl_jags_trc(excl = "b0.p")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.