Generalized Linear Mixed Model Trees

Recursive partitioning based on (generalized) linear mixed models (GLMMs) combining lmer()/glmer() from 'lme4' and lmtree()/glmtree() from 'partykit'. The fitting algorithm is described in more detail in Fokkema, Smits, Zeileis, Hothorn & Kelderman (2018; ). For detecting and modeling subgroups in growth curves with GLMM trees see Fokkema & Zeileis (2024; ).


Reference manual

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

install.packages("glmertree")

0.2-7 by Marjolein Fokkema, 2 months ago


https://r-forge.r-project.org/projects/partykit


Browse source code at https://github.com/cran/glmertree


Authors: Marjolein Fokkema [aut, cre] (ORCID: , Achim Zeileis [aut]


Documentation:   PDF Manual  


GPL-2 | GPL-3 license


Imports graphics, stats, utils, Formula

Depends on lme4, partykit

Suggests vcd, lattice, betareg, glmmTMB, lmerTest, merDeriv


Imported by FREEtree, TemporalForest.

Suggested by buildmer.


See at CRAN