Learn R Programming

glmm.hp (version 1.0-0)

Hierarchical Partitioning of Marginal R2 for Generalized Mixed-Effect Models

Description

Conducts hierarchical partitioning to calculate individual contributions of each predictor (fixed effects) towards marginal R2 for generalized linear mixed-effect model (including lm, glm and glmm) based on output of r.squaredGLMM() in 'MuMIn', applying the algorithm of Lai J.,Zou Y., Zhang S.,Zhang X.,Mao L.(2022)glmm.hp: an R package for computing individual effect of predictors in generalized linear mixed models.Journal of Plant Ecology,15(6)1302-1307.

Copy Link

Version

Install

install.packages('glmm.hp')

Monthly Downloads

761

Version

1.0-0

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Jiangshan Lai

Last Published

October 8th, 2025

Functions in glmm.hp (1.0-0)

plot.glmmhp

Plot for a glmm.hp object
glmm.hp

Hierarchical Partitioning of Marginal R2 for Generalized Mixed-Effect Models
genList

Internal function for glmm.hp()
odd

Internal function for glmm.hp() to determine whether the odd number
detect_glm_family

Automatically Recommend an Appropriate GLM Family
creatbin

Internal function for glmm.hp() to create diagonal matrix