Learn R Programming

report (version 0.6.0)

report_priors: Report priors of Bayesian models

Description

Reports priors of Bayesian models (see list of supported objects in report()).

Usage

report_priors(x, ...)

Value

An object of class report_priors().

Arguments

x

The R object that you want to report (see list of of supported objects above).

...

Arguments passed to or from other methods.

Examples

Run this code
if (FALSE) { # requireNamespace("rstanarm", quietly = TRUE)
# \donttest{
# Bayesian models
library(rstanarm)
model <- stan_glm(mpg ~ disp, data = mtcars, refresh = 0, iter = 1000)
r <- report_priors(model)
r
summary(r)
# }
}

Run the code above in your browser using DataLab