View source: R/diagnostic_draws.R
diagnostic_draws | R Documentation |
Returns the accumulated log-posterior, the average Metropolis acceptance rate, divergent transitions, treedepth rather than terminated its evolution normally.
diagnostic_draws(posteriors, ...)
posteriors |
A |
... |
Currently not used. |
## Not run:
set.seed(333)
if (require("brms", quietly = TRUE)) {
model <- brm(mpg ~ wt * cyl * vs,
data = mtcars,
iter = 100, control = list(adapt_delta = 0.80),
refresh = 0
)
diagnostic_draws(model)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.