Learn R Programming

report (version 0.4.0)

report.brmsfit: Reporting Bayesian Models from brms

Description

Create reports for Bayesian models. The description of the parameters follows the Sequential Effect eXistence and sIgnificance Testing framework (see SEXIT documentation).

Usage

# S3 method for brmsfit
report(x, ...)

Arguments

x

Object of class lm or glm.

...

Arguments passed to or from other methods.

Value

An object of class report().

See Also

Specific components of reports (especially for stats models):

Other types of reports:

Methods:

Template file for supporting new models:

Examples

Run this code
# NOT RUN {
library(report)

# Bayesian models
# }
# NOT RUN {
if (require("brms")) {
  model <- brm(mpg ~ qsec + wt, data = mtcars, refresh = 0, iter = 300)
  r <- report(model)
  r
  summary(r)
  as.data.frame(r)
  summary(as.data.frame(r))
}
# }

Run the code above in your browser using DataLab