prior_summary.brmsfit | R Documentation |
brms
modelsExtract priors of models fitted with brms.
## S3 method for class 'brmsfit'
prior_summary(object, all = TRUE, ...)
object |
An object of class |
all |
Logical; Show all parameters in the model which may have
priors ( |
... |
Further arguments passed to or from other methods. |
An brmsprior
object.
## Not run:
fit <- brm(
count ~ zAge + zBase * Trt + (1|patient) + (1|obs),
data = epilepsy, family = poisson(),
prior = prior(student_t(5,0,10), class = b) +
prior(cauchy(0,2), class = sd)
)
prior_summary(fit)
prior_summary(fit, all = FALSE)
print(prior_summary(fit, all = FALSE), show_df = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.