Closed athowes closed 2 months ago
brms
uses an argument formula
and then passes additional formula via ...
brms:::validate_formula
that can take at leastformula <- validate_formula(formula, data = data, family = family, autocor = autocor, sparse = sparse, cov_ranef = cov_ranef)
Closing this allows users to fix distributional parameters:
_Originally posted by @athowes in https://github.com/epinowcast/epidist/pull/183#discussion_r1689793381_
We should try to use the same input methods for formula as
brms
does. This would also mean that users wouldn't have to input formula for all variables, and it would know that if a formula is not provided then to usenot_provided ~ 1
.