Reports priors of Bayesian models (see list of supported objects in
report()
).
Examples
# \donttest{
# Bayesian models
library(rstanarm)
model <- stan_glm(mpg ~ disp, data = mtcars, refresh = 0, iter = 1000)
r <- report_priors(model)
r
#> Priors over parameters were set as normal (mean = 0.00, SD = 0.12) distributions
summary(r)
#> Priors over parameters were set as normal (mean = 0.00, SD = 0.12) distributions
# }