brmsfit of models fitted with the brms packageModels fitted with the brms package are
represented as a brmsfit object, which contains the posterior
samples, model formula, Stan code, relevant data, and other information.
formulaA brmsformula object
familyA brmsfamily object
dataA data.frame containing all variables used in the model
data.nameThe name of data as specified by the user
modelThe model code in Stan language
priorA brmsprior object containing
information on the priors used in the model
autocorAn cor_brms object containing
the autocorrelation structure if specified
ranefA data.frame containing the group-level structure
cov_ranefA list of customized group-level covariance matrices
stanvarsA stanvars object or NULL
stan_funsA character string of length one or NULL
looAn empty slot for adding the loo
information criterion after model fitting
waicAn empty slot for adding the waic
information criterion after model fitting
R2An empty slot for adding the bayes_R2
(Bayesian R-squared) value after model fitting
marglikAn empty slot for adding a bridge object
after model fitting containing the log marginal likelihood
(see bridge_sampler for details)
fitAn object of class stanfit
among others containing the posterior samples
excludeThe names of the parameters for which samples are not saved
algorithmThe name of the algorithm used to fit the model
versionThe versions of brms and rstan with which the model was fitted
fileOptional name of a file in which the model object was stored in or loaded from
See methods(class = "brmsfit") for an overview of available methods.