r2mlm
0.3.8R-Squared Measures for Multilevel Models
Overview
Generates both total- and level-specific R-squared measures from Rights and Sterba’s (2019) doi:10.1037/met0000184 framework of R-squared measures for multilevel models with random intercepts and/or slopes, which is based on a complete decomposition of variance. Additionally generates graphical representations of these R-squared measures to allow visualizing and interpreting all measures in the framework together as an integrated set. This framework subsumes 10 previously-developed R-squared measures for multilevel models as special cases of 5 measures from the framework, and it also includes several newly-developed measures. Measures in the framework can be used to compute R-squared differences when comparing multilevel models (following procedures in Rights & Sterba (2020) doi:10.1080/00273171.2019.1660605). Bootstrapped confidence intervals can also be calculated. To use the confidence interval functionality, download bootmlm from https://github.com/marklhc/bootmlm.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 83%
- Documented parameters
- 80%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Issues over time
Repository practices
5 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/mkshaw/r2mlm on 2026-08-16.
Show all practices
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
10 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.3.8Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.3.72023-12-20 · diff ↗
- 0.3.52023-07-20 · diff ↗
- 0.3.42023-07-11 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.3.32023-03-28 · diff ↗
- 0.3.22022-07-07 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.3.12021-11-04 · diff ↗
- 0.3.02021-06-04 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.2.02020-12-10 · diff ↗
- 0.1.02020-09-25
Show 1 earlier events
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-09-25
- Total releases
- 10 / 6 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.2.0
- Bundled data
- 208 KB / 1 file
- Download size
- 333 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("r2mlm")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.