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 10 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

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
gena  
Genetic Algorithm and Particle Swarm Optimization
Implements genetic algorithm and particle swarm algorithm for real-valued functions. Various modific ...
Download / Learn more Package Citations See dependency  
plyr  
Tools for Splitting, Applying and Combining Data
A set of tools that solves a common set of problems: you need to break a big problem down into mana ...
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  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

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