View source: R/report_priors.R
report_priors | R Documentation |
Reports priors of Bayesian models (see list of supported objects in
report()
).
report_priors(x, ...)
x |
The R object that you want to report (see list of of supported objects above). |
... |
Arguments passed to or from other methods. |
An object of class report_priors()
.
# Bayesian models
library(rstanarm)
model <- stan_glm(mpg ~ disp, data = mtcars, refresh = 0, iter = 1000)
r <- report_priors(model)
r
summary(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.