Set up a multivariate model formula for use in the brms package allowing to define (potentially non-linear) additive multilevel models for all parameters of the assumed response distributions.
mvbrmsformula(..., flist = NULL, rescor = NULL)
Objects of class
each specifying a univariate model. See
for details on how to specify univariate models.
Optional list of formulas, which are treated in the
same way as formulas passed via the
Logical; Indicates if residual correlation between
the response variables should be modeled. Currently, this is only
possible in multivariate
NULL (the default),
rescor is internally set to
TRUE when possible.
An object of class
is essentially a
list containing all model formulas
as well as some additional information for multivariate models.
vignette("brms_multivariate") for a case study.