Models fitted with the brms package are
represented as a brmsfit object, which contains the posterior
draws (samples), model formula, Stan code, relevant data, and other information.
See methods(class = "brmsfit") for an overview of available methods.
formulaA brmsformula object.
dataA data.frame containing all variables used in the model.
data2A list of data objects which cannot be passed
via data.
priorA brmsprior object containing
information on the priors used in the model.
stanvarsA stanvars object.
modelThe model code in Stan language.
ranefA data.frame containing the group-level structure.
excludeThe names of the parameters for which draws are not saved.
algorithmThe name of the algorithm used to fit the model.
backendThe name of the backend used to fit the model.
threadsAn object of class `brmsthreads` created by
threading.
openclAn object of class `brmsopencl` created by opencl.
stan_argsNamed list of additional control arguments that were passed to the Stan backend directly.
fitAn object of class stanfit
among others containing the posterior draws.
basisAn object that contains a small subset of the Stan data created at fitting time, which is needed to process new data correctly.
criteriaAn empty list for adding model fit criteria
after estimation of the model.
fileOptional name of a file in which the model object was stored in or loaded from.
versionThe versions of brms and rstan with which the model was fitted.
family(Deprecated) A brmsfamily object.
autocor(Deprecated) An cor_brms object containing
the autocorrelation structure if specified.
cov_ranef(Deprecated) A list of customized group-level
covariance matrices.
stan_funs(Deprecated) A character string of length one or NULL.
data.name(Deprecated) The name of data as specified by the user.