Skip to content
Prev 7440 / 12125 Next

[R-pkg-devel] [External] Formula modeling

There's a Formula package on CRAN 
<https://cran.r-project.org/web/packages/Formula/index.html> that's 
designed for this use case.

   lme4 and nlme don't use it, but implement their own formula 
manipulation machinery. (The cleanest version of this machinery is 
actually in glmmTMB at 
https://github.com/glmmTMB/glmmTMB/blob/master/glmmTMB/R/reformulas.R .)

   I would probably recommend Duncan's or Richard's approach, but if you 
want to keep your original syntax then the Formula package is probably 
the way to go.
On 10/7/21 5:58 PM, Duncan Murdoch wrote: