Other packages > Find by keyword >

r2glmm  

Computes R Squared for Mixed (Multilevel) Models
View on CRAN: Click here


Download and install r2glmm package within the R console
Install from CRAN:
install.packages("r2glmm")

Install from Github:
library("remotes")
install_github("cran/r2glmm")

Install by package version:
library("remotes")
install_version("r2glmm", "0.1.3")



Attach the package and use:
library("r2glmm")
Maintained by
Byron Jaeger
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-09-15
Latest Update: 2025-04-28
Description:
The model R squared and semi-partial R squared for the linear and generalized linear mixed model (LMM and GLMM) are computed with confidence limits. The R squared measure from Edwards et.al (2008) is extended to the GLMM using penalized quasi-likelihood (PQL) estimation (see Jaeger et al. 2016 ). Three methods of computation are provided and described as follows. First, The Kenward-Roger approach. Due to some inconsistency between the 'pbkrtest' package and the 'glmmPQL' function, the Kenward-Roger approach in the 'r2glmm' package is limited to the LMM. Second, The method introduced by Nakagawa and Schielzeth (2013) and later extended by Johnson (2014) . The 'r2glmm' package only computes marginal R squared for the LMM and does not generalize the statistic to the GLMM; however, confidence limits and semi-partial R squared for fixed effects are useful additions. Lastly, an approach using standardized generalized variance (SGV) can be used for covariance model selection. Package installation instructions can be found in the readme file.
How to cite:
Byron Jaeger (2016). r2glmm: Computes R Squared for Mixed (Multilevel) Models. R package version 0.1.3, https://cran.r-project.org/web/packages/r2glmm. Accessed 06 Mar. 2026.
Previous versions and publish date:
0.1.0 (2016-09-15 16:16), 0.1.1 (2016-11-28 22:10), 0.1.2 (2017-08-05 12:26)
Other packages that cited r2glmm R package
View r2glmm citation profile
Other R packages that r2glmm depends, imports, suggests or enhances
Complete documentation for r2glmm
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA