Package: r2mlm
Type: Package
Title: R-Squared Measures for Multilevel Models
Version: 0.3.8
Authors@R: c(
    person("Mairead", "Shaw", email = "mairead.shaw@mail.mcgill.ca", role = c("aut", "cre")),
    person("Jason", "Rights", email = "jrights@psych.ubc.ca", role = "aut"),
    person("Sonya", "Sterba", email = "sonya.sterba@vanderbilt.edu", role = "aut"),
    person("Jessica", "Flake", email = "jessica.flake@mcgill.ca", role = "aut"))
Maintainer: Mairead Shaw <mairead.shaw@mail.mcgill.ca>
Description: 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>.
License: GPL-3
Encoding: UTF-8
LazyData: true
Imports: dplyr (>= 0.8.5), magrittr (>= 1.5), methods (>= 3.6.3), rlang
        (>= 0.4.6), rockchalk (>= 1.8.157), stringr (>= 1.4.0),
        tidyselect (>= 1.0.0)
Depends: lme4 (>= 1.1.23), nlme (>= 3.1.14), R (>= 3.2.0)
RoxygenNote: 7.2.1
Suggests: bootmlm, testthat, Matrix
URL: https://github.com/mkshaw/r2mlm
BugReports: https://github.com/mkshaw/r2mlm/issues
NeedsCompilation: no
Packaged: 2025-04-19 20:05:02 UTC; maireadshaw
Author: Mairead Shaw [aut, cre],
  Jason Rights [aut],
  Sonya Sterba [aut],
  Jessica Flake [aut]
Repository: CRAN
Date/Publication: 2025-04-20 01:22:02 UTC
Built: R 4.6.0; ; 2026-04-26 14:40:51 UTC; unix
