r2glmm

Computes R Squared for Mixed (Multilevel) Models

CRAN Package

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) <doi:10.1002/sim.3429> is extended to the GLMM using penalized quasi-likelihood (PQL) estimation (see Jaeger et al. 2016 <doi:10.1080/02664763.2016.1193725>). 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) <doi:10.1111/j.2041-210x.2012.00261.x> and later extended by Johnson (2014) <doi:10.1111/2041-210X.12225>. 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.

  • Version0.1.2
  • R versionunknown
  • LicenseGPL-2
  • Needs compilation?No
  • Last release08/05/2017

Documentation


Team


Insights

Last 30 days

This package has been downloaded 734 times in the last 30 days. This could be a paper that people cite without reading. Reaching the medium popularity echelon is no small feat! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 27 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
0 downloadsFeb 11, 2025
50 downloadsFeb 12, 2025
26 downloadsFeb 13, 2025
20 downloadsFeb 14, 2025
12 downloadsFeb 15, 2025
13 downloadsFeb 16, 2025
18 downloadsFeb 17, 2025
33 downloadsFeb 18, 2025
21 downloadsFeb 19, 2025
32 downloadsFeb 20, 2025
21 downloadsFeb 21, 2025
9 downloadsFeb 22, 2025
10 downloadsFeb 23, 2025
22 downloadsFeb 24, 2025
23 downloadsFeb 25, 2025
24 downloadsFeb 26, 2025
40 downloadsFeb 27, 2025
18 downloadsFeb 28, 2025
14 downloadsMar 1, 2025
24 downloadsMar 2, 2025
45 downloadsMar 3, 2025
35 downloadsMar 4, 2025
29 downloadsMar 5, 2025
28 downloadsMar 6, 2025
9 downloadsMar 7, 2025
11 downloadsMar 8, 2025
18 downloadsMar 9, 2025
15 downloadsMar 10, 2025
31 downloadsMar 11, 2025
56 downloadsMar 12, 2025
27 downloadsMar 13, 2025
0 downloadsMar 14, 2025
0 downloadsMar 15, 2025
9
56

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 7,878 times in the last 365 days. A solid achievement! Enough downloads to get noticed at department meetings. The day with the most downloads was Apr 22, 2024 with 62 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports10 packages
  • Suggests3 packages