get_priors {insight} | R Documentation |
Get summary of priors used for a model
Description
Provides a summary of the prior distributions used for the parameters in a given model.
Usage
get_priors(x, ...)
## S3 method for class 'brmsfit'
get_priors(x, verbose = TRUE, ...)
Arguments
x |
A Bayesian model. |
... |
Currently not used. |
verbose |
Toggle warnings and messages. |
Value
A data frame with a summary of the prior distributions used for the parameters in a given model.
Examples
library(rstanarm)
model <- stan_glm(Sepal.Width ~ Species * Petal.Length, data = iris)
get_priors(model)
[Package insight version 0.20.2 Index]