This function is used within epidist()
to create a model specific custom
brms
family object. This custom family is passed to brms
. It is unlikely
that as a user you will need this function, but we export it nonetheless to
be transparent about what happens inside of a call to epidist()
.
Usage
epidist_family(data, family = lognormal(), ...)
Arguments
- data
An object with class corresponding to an implemented model.
- family
A description of the response distribution and link function to be used in the model. Every family function has a link argument allowing users to specify the link function to be applied on the response variable. If not specified, default links are used. For details of all supported families see
brmsfamily()
. Commonly used, such aslognormal()
, are also reexported as part ofepidist
.- ...
Additional arguments passed to
fn
method.
See also
Other family:
epidist_family_model()
,
epidist_family_model.default()
,
epidist_family_reparam()
,
epidist_family_reparam.default()
,
epidist_family_reparam.gamma()