View source: R/stan-package-tools.R
extract_divergences | R Documentation |
Extract divergences from a variety of Stan packages
extract_divergences(x, ...)
x |
A Stan MCMC model fit. |
... |
Arguments passed to S3 methods if applicable. |
A vector containing the number of divergences per iteration.
## Not run: fit <- brms::brm(y ~ x, data = datalist) extract_divergences(fit) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.