extract method for brmsfit objectsextract method for brmsfit objects created by the
brm function in the brms package.
# S4 method for 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,
...
)A statistical model object.
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?
Significance level (1 - alpha) for HPDs (in combination
with the use.HDI argument).
Include random effects (standard deviations) in the GOF block of the table?
Report R^2 in the GOF block?
Report the number of observations in the GOF block?
Report Leave-One-Out Information Criterion?
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.
Report Widely Applicable Information Criterion (WAIC)?
Custom parameters, which are handed over to subroutines, in this
case to the summary method for the object.