get_priors | R Documentation |
Provides a summary of the prior distributions used for the parameters in a given model.
get_priors(x, ...)
## S3 method for class 'brmsfit'
get_priors(x, verbose = TRUE, ...)
x |
A Bayesian model. |
... |
Currently not used. |
verbose |
Toggle warnings and messages. |
A data frame with a summary of the prior distributions used for the parameters in a given model.
library(rstanarm)
model <- stan_glm(Sepal.Width ~ Species * Petal.Length, data = iris)
get_priors(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.