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

phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
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  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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