Called by configure_model()
inside bmm()
to convert the bmmformula
into a
brmsformula
based on information in the model object. It will call the
appropriate bmf2bf.\* methods based on the classes defined in the model_\* function.
Value
A brmsformula
defining the response variables and the additional parameter
formulas for the specified bmmodel
Examples
model <- mixture2p(resp_error = "error")
formula <- bmmformula(
thetat ~ 0 + set_size + (0 + set_size | id),
kappa ~ 1 + (1 | id)
)
brms_formula <- bmf2bf(model, formula)