brmsfit-class: Class brmsfit
of fitted mixed-effect models
Description
Models fitted with the brms
package are represented as a brmsfit
object, which contains the posterior samples, the model code, the relevant data, the model formula, and some other useful information.Details
Currently, the following S3 methods are available for class brmsfit
:
as.mcmc
,
coef
,
family
,
fitted
,
fixef
,
formula
,
hypothesis
,
launch_shiny
,
logLik
,
LOO
,
marginal_effects
,
model.frame
,
ngrps
,
nobs
,
pairs
,
parnames
,
plot
,
posterior_samples
,
predict
,
print
,
prior_samples
,
ranef
,
residuals
,
stancode
,
standata
,
stanplot
,
summary
,
update
,
VarCorr
,
vcov
,
WAIC
.
brmsfit
objects do not have their own tidy
method yet,
but you may use broom::tidyMCMC($fit)
to
apply the tidy
method for stanfit
objects.