{
  "_id": "6aacdfa73d719c1f8407272f",
  "Package": "r2glmm",
  "Type": "Package",
  "Title": "Computes R Squared for Mixed (Multilevel) Models",
  "Date": "2025-04-28",
  "Version": "0.1.3",
  "Authors@R": "person(\"Byron\", \"Jaeger\", email = \"byron.jaeger@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "The model R squared and semi-partial R squared for the\nlinear and generalized linear mixed model (LMM and GLMM) are\ncomputed with confidence limits. The R squared measure from\nEdwards et.al (2008) <DOI:10.1002/sim.3429> is extended to the\nGLMM using penalized quasi-likelihood (PQL) estimation (see\nJaeger et al. 2016 <DOI:10.1080/02664763.2016.1193725>). Three\nmethods of computation are provided and described as follows.\nFirst, The Kenward-Roger approach. Due to some inconsistency\nbetween the 'pbkrtest' package and the 'glmmPQL' function, the\nKenward-Roger approach in the 'r2glmm' package is limited to\nthe LMM. Second, The method introduced by Nakagawa and\nSchielzeth (2013) <DOI:10.1111/j.2041-210x.2012.00261.x> and\nlater extended by Johnson (2014) <DOI:10.1111/2041-210X.12225>.\nThe 'r2glmm' package only computes marginal R squared for the\nLMM and does not generalize the statistic to the GLMM; however,\nconfidence limits and semi-partial R squared for fixed effects\nare useful additions. Lastly, an approach using standardized\ngeneralized variance (SGV) can be used for covariance model\nselection. Package installation instructions can be found in\nthe readme file.",
  "License": "GPL-2",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/bcjaeger/r2glmm",
  "BugReports": "https://github.com/bcjaeger/r2glmm/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://bcjaeger.r-universe.dev",
  "Date/Publication": "2025-04-28 14:02:50 UTC",
  "RemoteUrl": "https://github.com/bcjaeger/r2glmm",
  "RemoteRef": "HEAD",
  "RemoteSha": "f19be6656fbf38d31539a8e93d09d31d27890476",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-18 06:34:03 UTC",
    "User": "root"
  },
  "Author": "Byron Jaeger [aut, cre]",
  "Maintainer": "Byron Jaeger <byron.jaeger@gmail.com>",
  "_user": "bcjaeger",
  "_type": "src",
  "_file": "r2glmm_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/37114347011027d560e2e92e56f59e27f8cb85c5b5ae2772f41ede7d8e1ed854",
  "_filesize": 137978,
  "_sha256": "37114347011027d560e2e92e56f59e27f8cb85c5b5ae2772f41ede7d8e1ed854",
  "_expires": "2026-12-27T06:52:20.000Z",
  "_created": "2026-09-18T06:34:03.000Z",
  "_published": "2026-09-18T06:52:22.903Z",
  "_jobs": [
    {
      "job": 105506010400,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10535065949"
    },
    {
      "job": 105506010420,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10535335834"
    },
    {
      "job": 105506010433,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10535661100"
    },
    {
      "job": 105506010583,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10535757117"
    },
    {
      "job": 105505351527,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10534759573"
    },
    {
      "job": 105506010421,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10535380522"
    },
    {
      "job": 105506010495,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10534819415"
    },
    {
      "job": 105506010565,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10535130752"
    },
    {
      "job": 105506010402,
      "time": 86,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10533869936"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490",
  "_status": "success",
  "_upstream": "https://github.com/bcjaeger/r2glmm",
  "_commit": {
    "id": "f19be6656fbf38d31539a8e93d09d31d27890476",
    "author": "Byron Jaeger <bcjaeger@perisphere-rwe.com>",
    "committer": "Byron Jaeger <bcjaeger@perisphere-rwe.com>",
    "message": "update date\n",
    "time": 1745848970
  },
  "_maintainer": {
    "name": "Byron Jaeger",
    "email": "byron.jaeger@gmail.com",
    "login": "bcjaeger",
    "description": "Director of Data Analytics at Perisphere Real World Evidence",
    "uuid": 11821781
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "pbkrtest",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "afex",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "nlme",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "lmerTest",
      "role": "Suggests"
    }
  ],
  "_owner": "bcjaeger",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 16,
  "_contributors": [
    {
      "user": "bcjaeger",
      "count": 47,
      "uuid": 11821781
    }
  ],
  "_userbio": {
    "uuid": 11821781,
    "type": "user",
    "name": "Byron",
    "followers": 71,
    "description": "Director of Data Analytics at Perisphere Real World Evidence"
  },
  "_downloads": {
    "count": 705,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/r2glmm"
  },
  "_mentions": 40,
  "_devurl": "https://github.com/bcjaeger/r2glmm",
  "_searchresults": 289,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/r2glmm.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/bcjaeger/r2glmm",
  "_realowner": "bcjaeger",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2016-09-15"
    },
    {
      "version": "0.1.1",
      "date": "2016-11-28"
    },
    {
      "version": "0.1.2",
      "date": "2017-08-05"
    },
    {
      "version": "0.1.3",
      "date": "2025-04-28"
    }
  ],
  "_exports": [
    "calc_sgv",
    "cmp_R2",
    "glmPQL",
    "is.CompSym",
    "make.partial.C",
    "pqlmer",
    "r2beta",
    "r2dt"
  ],
  "_help": [
    {
      "page": "calc_sgv",
      "title": "Compute the standardized generalized variance (SGV) of a blocked diagonal matrix.",
      "topics": [
        "calc_sgv"
      ]
    },
    {
      "page": "cmp_R2",
      "title": "Compute R2 with a specified C matrix",
      "topics": [
        "cmp_R2"
      ]
    },
    {
      "page": "glmPQL",
      "title": "Compute PQL estimates for fixed effects from a generalized linear model.",
      "topics": [
        "glmPQL"
      ]
    },
    {
      "page": "is.CompSym",
      "title": "Checks if a matrix is Compound Symmetric.",
      "topics": [
        "is.CompSym"
      ]
    },
    {
      "page": "make.partial.C",
      "title": "Generate partial contrast matrices",
      "topics": [
        "make.partial.C"
      ]
    },
    {
      "page": "plot.R2",
      "title": "Visualize standardized effect sizes and model R squared",
      "topics": [
        "plot.R2"
      ]
    },
    {
      "page": "pqlmer",
      "title": "pqlmer",
      "topics": [
        "pqlmer"
      ]
    },
    {
      "page": "print.R2",
      "title": "Print the contents of an R2 object",
      "topics": [
        "print.R2"
      ]
    },
    {
      "page": "r2beta",
      "title": "r2beta Compute R Squared for Mixed Models",
      "topics": [
        "r2beta"
      ]
    },
    {
      "page": "r2dt",
      "title": "R Squared Difference Test (R2DT). Test for a statistically significant difference in generalized explained variance between two candidate models.",
      "topics": [
        "r2dt"
      ]
    }
  ],
  "_readme": "https://github.com/bcjaeger/r2glmm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "afex",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmerTest",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plyr",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 6.363987829748492,
  "_indexed": true,
  "_nocasepkg": "r2glmm",
  "_universes": [
    "bcjaeger"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-09-18T06:36:28.000Z",
      "distro": "resolute",
      "commit": "f19be6656fbf38d31539a8e93d09d31d27890476",
      "fileid": "https://r2.ropensci.org/5f3727ce40ea63f2f54cc093481f10cff9071ac263b641a5a24994fd52b122ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-09-18T06:37:14.000Z",
      "distro": "resolute",
      "commit": "f19be6656fbf38d31539a8e93d09d31d27890476",
      "fileid": "https://r2.ropensci.org/f135c485acdcb685027c1b942a966431dd85b8f2a4b9637a1ac2663978b5b092",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-09-18T06:48:12.000Z",
      "commit": "f19be6656fbf38d31539a8e93d09d31d27890476",
      "fileid": "https://r2.ropensci.org/381ae42fd256a3519520ed244252371af5dfbd159e12f7295c8b20afe47060dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-09-18T06:51:46.000Z",
      "commit": "f19be6656fbf38d31539a8e93d09d31d27890476",
      "fileid": "https://r2.ropensci.org/59738a036086e7ae1e82d3558ebfc317e7e5ac97914744ca9604c02bc10a5f85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-09-18T06:36:32.000Z",
      "commit": "f19be6656fbf38d31539a8e93d09d31d27890476",
      "fileid": "https://r2.ropensci.org/03736d6ac38e873c9bbb7018dda7927af462ce6ad0e2790d679c7499ceb324f2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-18T06:35:09.000Z",
      "commit": "f19be6656fbf38d31539a8e93d09d31d27890476",
      "fileid": "https://r2.ropensci.org/fea123d84238ef81126bb99392c24029e8a0d7be5e86ef3e91631258ef51c4c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-18T06:35:09.000Z",
      "commit": "f19be6656fbf38d31539a8e93d09d31d27890476",
      "fileid": "https://r2.ropensci.org/212bdc8916ad1b9e592fb8cf18f3ec51a26129169962005ce171efea8c080620",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-18T06:35:16.000Z",
      "commit": "f19be6656fbf38d31539a8e93d09d31d27890476",
      "fileid": "https://r2.ropensci.org/2924191e5b60963f045184d126a36b966b7e1b1b8f7b4ea4bf442b4dfb6b67f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcjaeger/actions/runs/35315214490"
    }
  ]
}