{
  "_id": "6a1569f8acfb0bcc41d62cb3",
  "Package": "r2mlm",
  "Type": "Package",
  "Title": "R-Squared Measures for Multilevel Models",
  "Version": "0.3.8",
  "Authors@R": "c(\nperson(\"Mairead\", \"Shaw\", email = \"mairead.shaw@mail.mcgill.ca\", role = c(\"aut\", \"cre\")),\nperson(\"Jason\", \"Rights\", email = \"jrights@psych.ubc.ca\", role = \"aut\"),\nperson(\"Sonya\", \"Sterba\", email = \"sonya.sterba@vanderbilt.edu\", role = \"aut\"),\nperson(\"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\nmeasures from Rights and Sterba’s (2019)\n<doi:10.1037/met0000184> framework of R-squared measures for\nmultilevel models with random intercepts and/or slopes, which\nis based on a complete decomposition of variance. Additionally\ngenerates graphical representations of these R-squared measures\nto allow visualizing and interpreting all measures in the\nframework together as an integrated set. This framework\nsubsumes 10 previously-developed R-squared measures for\nmultilevel models as special cases of 5 measures from the\nframework, and it also includes several newly-developed\nmeasures. Measures in the framework can be used to compute\nR-squared differences when comparing multilevel models\n(following procedures in Rights & Sterba (2020)\n<doi:10.1080/00273171.2019.1660605>). Bootstrapped confidence\nintervals can also be calculated. To use the confidence\ninterval functionality, download bootmlm from\n<https://github.com/marklhc/bootmlm>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.1",
  "URL": "https://github.com/mkshaw/r2mlm",
  "BugReports": "https://github.com/mkshaw/r2mlm/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://mkshaw.r-universe.dev",
  "Date/Publication": "2025-04-19 20:04:43 UTC",
  "RemoteUrl": "https://github.com/mkshaw/r2mlm",
  "RemoteRef": "HEAD",
  "RemoteSha": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 09:34:24 UTC",
    "User": "root"
  },
  "Author": "Mairead Shaw [aut, cre],\nJason Rights [aut],\nSonya Sterba [aut],\nJessica Flake [aut]",
  "MD5sum": "432221f57d302a84f1ad8a3cc1187f6a",
  "_user": "mkshaw",
  "_type": "src",
  "_file": "r2mlm_0.3.8.tar.gz",
  "_fileid": "17b287bb163cb0498145dfb2bd7371d33e9a8303ab98a958a5a7f10126da1aff",
  "_filesize": 475062,
  "_sha256": "17b287bb163cb0498145dfb2bd7371d33e9a8303ab98a958a5a7f10126da1aff",
  "_created": "2026-05-26T09:34:24.000Z",
  "_published": "2026-05-26T09:38:00.861Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77846831897,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213693577"
    },
    {
      "job": 77846831958,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213694798"
    },
    {
      "job": 77846831830,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213692742"
    },
    {
      "job": 77846831833,
      "time": 150,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213681675"
    },
    {
      "job": 77846359364,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213639478"
    },
    {
      "job": 77846831868,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213679677"
    },
    {
      "job": 77846831905,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213678107"
    },
    {
      "job": 77846831941,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213677396"
    },
    {
      "job": 77846831874,
      "time": 111,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213679424"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mkshaw/r2mlm",
  "_commit": {
    "id": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
    "author": "Mairead Shaw <mairead.shaw@mail.mcgill.ca>",
    "committer": "Mairead Shaw <mairead.shaw@mail.mcgill.ca>",
    "message": "Update package number, news file, cran comments.\n",
    "time": 1745093083
  },
  "_maintainer": {
    "name": "Mairead Shaw",
    "email": "mairead.shaw@mail.mcgill.ca",
    "login": "mkshaw",
    "twitter": "@maireadkshaw",
    "description": "Graduate student at McGill University.",
    "uuid": 52977155
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "lme4",
      "version": ">= 1.1.23",
      "role": "Depends"
    },
    {
      "package": "nlme",
      "version": ">= 3.1.14",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8.5",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5",
      "role": "Imports"
    },
    {
      "package": "methods",
      "version": ">= 3.6.3",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.6",
      "role": "Imports"
    },
    {
      "package": "rockchalk",
      "version": ">= 1.8.157",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "bootmlm",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    }
  ],
  "_owner": "mkshaw",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 30,
  "_contributors": [
    {
      "user": "mkshaw",
      "count": 132,
      "uuid": 52977155
    }
  ],
  "_userbio": {
    "uuid": 52977155,
    "type": "user",
    "name": "Mairead Shaw",
    "description": "Graduate student at McGill University."
  },
  "_downloads": {
    "count": 510,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/r2mlm"
  },
  "_devurl": "https://github.com/mkshaw/r2mlm",
  "_searchresults": 174,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/r2mlm.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mkshaw/r2mlm",
  "_realowner": "mkshaw",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-09-25"
    },
    {
      "version": "0.2.0",
      "date": "2020-12-10"
    },
    {
      "version": "0.3.0",
      "date": "2021-06-04"
    },
    {
      "version": "0.3.1",
      "date": "2021-11-04"
    },
    {
      "version": "0.3.2",
      "date": "2022-07-07"
    },
    {
      "version": "0.3.3",
      "date": "2023-03-28"
    },
    {
      "version": "0.3.4",
      "date": "2023-07-11"
    },
    {
      "version": "0.3.5",
      "date": "2023-07-20"
    },
    {
      "version": "0.3.7",
      "date": "2023-12-20"
    },
    {
      "version": "0.3.8",
      "date": "2025-04-20"
    }
  ],
  "_exports": [
    "r2mlm",
    "r2mlm_ci",
    "r2mlm_comp",
    "r2mlm_comp_manual",
    "r2mlm_long_manual",
    "r2mlm_manual",
    "r2mlm3_manual"
  ],
  "_datasets": [
    {
      "name": "teachsat",
      "title": "Teacher job satisfaction.",
      "object": "teachsat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "schoolID",
        "teacherID",
        "satisfaction",
        "control_c",
        "salary_c",
        "control_m",
        "salary_m",
        "s_t_ratio"
      ],
      "rows": 9000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "r2mlm",
      "title": "Compute R-squared values for multilevel models, automatically inputting parameter estimates.",
      "concept": [
        "r2mlm single model functions"
      ],
      "topics": [
        "r2mlm"
      ]
    },
    {
      "page": "r2mlm_ci",
      "title": "Compute confidence intervals for R-squared in multilevel models.",
      "concept": [
        "r2mlm single model functions"
      ],
      "topics": [
        "r2mlm_ci"
      ]
    },
    {
      "page": "r2mlm_comp",
      "title": "Compute R-squared differences between two multilevel models, automatically inputting parameter estimates.",
      "concept": [
        "r2mlm model comparison functions"
      ],
      "topics": [
        "r2mlm_comp"
      ]
    },
    {
      "page": "r2mlm_comp_manual",
      "title": "Compute R-squared differences between two multilevel models, manually inputting parameter estimates.",
      "concept": [
        "r2mlm model comparison functions"
      ],
      "topics": [
        "r2mlm_comp_manual"
      ]
    },
    {
      "page": "r2mlm_long_manual",
      "title": "Compute R-squared values for longitudinal multilevel models, manually inputting parameter estimates.",
      "concept": [
        "r2mlm single model functions"
      ],
      "topics": [
        "r2mlm_long_manual"
      ]
    },
    {
      "page": "r2mlm_manual",
      "title": "Compute R-squared values for multilevel models, manually inputting parameter estimates.",
      "concept": [
        "r2mlm single model functions"
      ],
      "topics": [
        "r2mlm_manual"
      ]
    },
    {
      "page": "r2mlm3_manual",
      "title": "Compute R-squared values for three-level multilevel models, manually inputting parameter estimates.",
      "concept": [
        "r2mlm single model functions"
      ],
      "topics": [
        "r2mlm3_manual"
      ]
    },
    {
      "page": "teachsat",
      "title": "Teacher job satisfaction.",
      "topics": [
        "teachsat"
      ]
    }
  ],
  "_readme": "https://github.com/mkshaw/r2mlm/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "carData",
    "cli",
    "dplyr",
    "foreign",
    "generics",
    "glue",
    "kutils",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "openxlsx",
    "pillar",
    "pkgconfig",
    "plyr",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rockchalk",
    "RUnit",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xtable",
    "zip"
  ],
  "_score": 5.416640507338281,
  "_indexed": true,
  "_nocasepkg": "r2mlm",
  "_universes": [
    "mkshaw"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.8",
      "date": "2026-05-26T09:36:37.000Z",
      "distro": "noble",
      "commit": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
      "fileid": "5b9bc84e2f03925e54b1382647f3a751662bbeb5dced97c39ba9b24154ac26c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.8",
      "date": "2026-05-26T09:36:41.000Z",
      "distro": "noble",
      "commit": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
      "fileid": "99ef759165397e74e4636b0b2b7e5a1fdb4c701a34115cf789756445012e1fb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.8",
      "date": "2026-05-26T09:36:48.000Z",
      "commit": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
      "fileid": "40afb3b88bf4550c833f12c304dd4416cc878c9bdadd04a0cb12cfcea06f1d02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.8",
      "date": "2026-05-26T09:36:18.000Z",
      "commit": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
      "fileid": "78a9c3da4800065a0931b3608df40413877be65c75faa5123626bfff08a7d57b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.8",
      "date": "2026-05-26T09:36:39.000Z",
      "commit": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
      "fileid": "0fb99315289d25c991bdaa0f10f35f6ede0c7171470247e7f3c0c9d02d01879b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-05-26T09:35:50.000Z",
      "commit": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
      "fileid": "0580dafbdcf2af6e1b46c5f8c01052bb08f28f8bbecb70a225f9da3397d759f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-05-26T09:35:48.000Z",
      "commit": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
      "fileid": "2f8181746c2f4892b08d1e2a77ec0e6614bb8c1081bc8b5ded568ffacf07c5be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-05-26T09:35:51.000Z",
      "commit": "6d7e30664884b5b3b84c91da82c1395bf12792fd",
      "fileid": "74960f605708ee9d92e84c15183a2bf8db239879b8192a5d51dd6697d5ab2bed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkshaw/actions/runs/26444246090"
    }
  ]
}