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