Infectious disease modelling wrapper for brm

idbrmfit(formula, data, family, priors, custom_stancode, dry = FALSE, ...)

Arguments

formula

A brms model formula.

data

A data frame.

family

An observation model family as defined in brms.

priors

A list of priors as defined using brms.

custom_stancode

A list of stanvars used to define custom stancode in brms.

dry

Logical, defaults to TRUE. For testing purposes should just the stan code be output with not fitting done.

...

Additional arguments to pass to brms::brm.

Author

Sam Abbott