Learn R Programming

glmertree (version 0.2-7)

Generalized Linear Mixed Model Trees

Description

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; ).

Copy Link

Version

Install

install.packages('glmertree')

Monthly Downloads

2,573

Version

0.2-7

License

GPL-2 | GPL-3

Maintainer

Marjolein Fokkema

Last Published

August 21st, 2026

Functions in glmertree (0.2-7)

plot.glmertree

Plotting (Generalized) Linear Mixed Model Trees
DepressionDemo

Artificial depression treatment dataset
GrowthCurveDemo

Artificial dataset for partitioning of linear growth curve models
coef.glmertree

Obtaining Fixed-Effects Coefficient Estimates of (Generalized) Linear Mixed Model Trees
cv.glmertree

Cross Validation of (Generalized) Linear Mixed Model Trees
glmertree

(Generalized) Linear Mixed Model Trees
MHserviceDemo

Artificial mental-health service outcomes dataset
betamertree

Beta Mixed-Effects Regression Trees