Skip to contents

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().

Usage

epidist_transform_data(data, family, formula, ...)

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.