Generalized Linear Mixed Models using Template Model Builder

Fit linear and generalized linear mixed models with various extensions, including zero-inflation. The models are fitted using maximum likelihood estimation via 'TMB' (Template Model Builder). Random effects are assumed to be Gaussian on the scale of the linear predictor and are integrated out using the Laplace approximation. Gradients are calculated using automatic differentiation.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.3 by Mollie Brooks, 9 months ago

Report a bug at

Browse source code at

Authors: Arni Magnusson [aut] , Hans Skaug [aut] , Anders Nielsen [aut] , Casper Berg [aut] , Kasper Kristensen [aut] , Martin Maechler [aut] , Koen van Bentham [aut] , Nafis Sadat [ctb] , Ben Bolker [aut] , Mollie Brooks [aut, cre]

Documentation:   PDF Manual  

AGPL-3 license

Imports methods, TMB, lme4, Matrix, nlme

Suggests knitr, rmarkdown, testthat, MASS, lattice, ggplot2, mlmRev, bbmle, pscl, coda, reshape2, car, emmeans, estimability, DHARMa, multcomp, MuMIn, effects, dotwhisker, broom, plyr, png, boot

Linking to TMB, RcppEigen

Imported by DHARMa, sjPlot.

Suggested by AICcmodavg, afex, broom.mixed, buildmer, ggeffects, glmmboot, insight, parameters, performance.

See at CRAN