Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

extract-brmsfit-method

extract method for brmsfit objects


Description

extract method for brmsfit objects created by the brm function in the brms package.

Usage

## S4 method for signature 'brmsfit'
extract(
  model,
  use.HDI = TRUE,
  level = 0.9,
  include.random = TRUE,
  include.rsquared = TRUE,
  include.nobs = TRUE,
  include.loo.ic = TRUE,
  reloo = FALSE,
  include.waic = TRUE,
  ...
)

Arguments

model

A statistical model object.

use.HDI

Report highest posterior density (HPD) intervals (HDI) using the HPDinterval function in the coda package, with the probability given in the level argument, instead of the default 95 percent posterior quantiles?

level

Significance level (1 - alpha) for HPDs (in combination with the use.HDI argument).

include.random

Include random effects (standard deviations) in the GOF block of the table?

include.rsquared

Report R^2 in the GOF block?

include.nobs

Report the number of observations in the GOF block?

include.loo.ic

Report Leave-One-Out Information Criterion?

reloo

Recompute exact cross-validation for problematic observations for which approximate leave-one-out cross-validation may return incorrect results? This is done using the reloo.brmsfit function and may take some time to compute.

include.waic

Report Widely Applicable Information Criterion (WAIC)?

...

Custom parameters, which are handed over to subroutines, in this case to the summary method for the object.

Author(s)

Hyunjin (Jin) Song, Philip Leifeld


texreg

Conversion of R Regression Output to LaTeX or HTML Tables

v1.37.5
GPL-3
Authors
Philip Leifeld [aut, cre], Claudia Zucca [ctb]
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.