This function is used within epidist()
to transform data before passing 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()
.
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 created using
epidist_family()
.- formula
A formula object created using
epidist_formula()
.- ...
Additional arguments passed to
fn
method.
See also
Other transform_data:
epidist_transform_data_model()
,
epidist_transform_data_model.default()