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 07 Oct. 2026.
Previous versions and publish date:
(2026-07-09 06:47), 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

skewlmm  
Scale Mixture of Skew-Normal Linear Mixed Models
It fits scale mixture of skew-normal linear mixed models using an expectation–maximization (EM) ty ...
Download / Learn more Package Citations See dependency  
plaqr  
Partially Linear Additive Quantile Regression
Estimation, prediction, thresholding, transformation, and plotting for partially linear additive qua ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
blandr  
Bland-Altman Method Comparison
Carries out Bland Altman analyses (also known as a Tukey mean-difference plot) as described by JM B ...
Download / Learn more Package Citations See dependency  
splm  
Econometric Models for Spatial Panel Data
ML and GM estimation and diagnostic testing of econometric models for spatial panel data. ...
Download / Learn more Package Citations See dependency  
ggTimeSeries  
Time Series Visualisations Using the Grammar of Graphics
Provides additional display mediums for time series visualisations. ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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