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 25 Jun. 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

edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  
foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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