{
  "_id": "6acb680bfe5cc25786e8f79e",
  "Package": "simr",
  "Type": "Package",
  "Title": "Power Analysis for Generalised Linear Mixed Models by Simulation",
  "Description": "Calculate power for generalised linear mixed models, using\nsimulation. Designed to work with models fit using the 'lme4'\npackage. Described in Green and MacLeod, 2016\n<doi:10.1111/2041-210X.12504>.",
  "Version": "1.0.11",
  "Authors@R": "c(\nperson(\"Peter\", \"Green\", role=c(\"aut\", \"cre\"), email=\"simr.peter@gmail.com\",\ncomment=c(ORCID=\"0000-0002-0238-9852\")),\nperson(\"Catriona\", \"MacLeod\", role=\"aut\"),\nperson(\"Phillip\", \"Alday\", role=\"ctb\"))",
  "URL": "https://github.com/pitakakariki/simr",
  "BugReports": "https://github.com/pitakakariki/simr/issues",
  "License": "GPL (>=2)",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://pitakakariki.r-universe.dev",
  "Date/Publication": "2026-09-11 06:12:21 UTC",
  "RemoteUrl": "https://github.com/pitakakariki/simr",
  "RemoteRef": "HEAD",
  "RemoteSha": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-11 10:18:02 UTC",
    "User": "root"
  },
  "Author": "Peter Green [aut, cre] (ORCID: <https://orcid.org/0000-0002-0238-9852>),\nCatriona MacLeod [aut],\nPhillip Alday [ctb]",
  "Maintainer": "Peter Green <simr.peter@gmail.com>",
  "_user": "pitakakariki",
  "_type": "src",
  "_file": "simr_1.0.11.tar.gz",
  "_fileid": "https://r2.ropensci.org/b9193222fe8d22dff2ab8799f96930d72519adba09454ce43cc470dc70b81ec6",
  "_filesize": 177819,
  "_sha256": "b9193222fe8d22dff2ab8799f96930d72519adba09454ce43cc470dc70b81ec6",
  "_expires": "2027-01-19T10:42:16.000Z",
  "_created": "2026-10-11T10:18:02.000Z",
  "_published": "2026-10-11T10:42:18.931Z",
  "_buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114446533341,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11699446111"
    },
    {
      "job": 114446533295,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699670878"
    },
    {
      "job": 114446533378,
      "time": 212,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11699333486"
    },
    {
      "job": 114446533325,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699567981"
    },
    {
      "job": 114445830228,
      "time": 237,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699425873"
    },
    {
      "job": 114446533415,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11699506013"
    },
    {
      "job": 114446533406,
      "time": 137,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11699216736"
    },
    {
      "job": 114446533301,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11699296359"
    },
    {
      "job": 114446533347,
      "time": 89,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699139969"
    }
  ],
  "_upstream": "https://github.com/pitakakariki/simr",
  "_commit": {
    "id": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
    "author": "Peter Green <peter@tadorna.co.nz>",
    "committer": "Peter Green <peter@tadorna.co.nz>",
    "message": "New cran candidate.\n",
    "time": 1789107141
  },
  "_maintainer": {
    "name": "Peter Green",
    "email": "simr.peter@gmail.com",
    "login": "pitakakariki",
    "description": "",
    "uuid": 1023705,
    "orcid": "0000-0002-0238-9852"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "version": ">= 1.1-16",
      "role": "Depends"
    },
    {
      "package": "binom",
      "role": "Imports"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "lmerTest",
      "version": ">= 3.0-0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pbkrtest",
      "role": "Imports"
    },
    {
      "package": "plotrix",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "reformulas",
      "role": "Imports"
    },
    {
      "package": "RLRsim",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "pitakakariki",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 7
    },
    {
      "week": "2026-28",
      "n": 3
    },
    {
      "week": "2026-30",
      "n": 2
    },
    {
      "week": "2026-31",
      "n": 3
    },
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "1.0.9",
      "date": "2026-03-29"
    },
    {
      "name": "1.0.10",
      "date": "2026-07-29"
    },
    {
      "name": "1.0.11",
      "date": "2026-09-11"
    }
  ],
  "_stars": 81,
  "_contributors": [
    {
      "user": "pitakakariki",
      "count": 318,
      "uuid": 1023705
    },
    {
      "user": "palday",
      "count": 19,
      "uuid": 1677783
    },
    {
      "user": "pablobernabeu",
      "count": 2,
      "uuid": 20436359
    },
    {
      "user": "petergreensimrtest",
      "count": 2,
      "uuid": 64519094
    },
    {
      "user": "tobiasrebholz",
      "count": 1,
      "uuid": 65647359
    }
  ],
  "_userbio": {
    "uuid": 1023705,
    "type": "user",
    "name": "Peter Green",
    "followers": 17
  },
  "_downloads": {
    "count": 3930,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simr"
  },
  "_mentions": 46,
  "_devurl": "https://github.com/pitakakariki/simr",
  "_searchresults": 1048,
  "_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/readme.html",
    "extra/readme.md",
    "extra/simr.html"
  ],
  "_homeurl": "https://github.com/pitakakariki/simr",
  "_realowner": "pitakakariki",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2015-11-01"
    },
    {
      "version": "1.0.1",
      "date": "2016-01-16"
    },
    {
      "version": "1.0.2",
      "date": "2016-11-19"
    },
    {
      "version": "1.0.3",
      "date": "2017-09-29"
    },
    {
      "version": "1.0.4",
      "date": "2018-04-30"
    },
    {
      "version": "1.0.5",
      "date": "2019-01-29"
    },
    {
      "version": "1.0.6",
      "date": "2022-03-08"
    },
    {
      "version": "1.0.7",
      "date": "2023-04-13"
    },
    {
      "version": "1.0.8",
      "date": "2025-08-18"
    },
    {
      "version": "1.0.9",
      "date": "2026-03-29"
    },
    {
      "version": "1.0.10",
      "date": "2026-08-01"
    },
    {
      "version": "1.0.11",
      "date": "2026-09-11"
    }
  ],
  "_exports": [
    "coef<-",
    "compare",
    "doFit",
    "doSim",
    "doTest",
    "extend",
    "fcompare",
    "fixed",
    "fixef<-",
    "getData",
    "getData<-",
    "getSimrOption",
    "lastResult",
    "makeGlmer",
    "makeLmer",
    "powerCurve",
    "powerSim",
    "random",
    "rcompare",
    "scale<-",
    "sigma<-",
    "simrOptions",
    "VarCorr<-"
  ],
  "_datasets": [
    {
      "name": "simdata",
      "title": "Example dataset.",
      "object": "simdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x",
        "g",
        "z"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "simr-package",
      "title": "simr: Simulation-based power calculations for mixed models.",
      "topics": [
        "simr-package",
        "simr"
      ]
    },
    {
      "page": "doFit",
      "title": "Fit model to a new response.",
      "topics": [
        "doFit"
      ]
    },
    {
      "page": "doSim",
      "title": "Generate simulated response variables.",
      "topics": [
        "doSim"
      ]
    },
    {
      "page": "doTest",
      "title": "Apply a hypothesis test to a fitted model.",
      "topics": [
        "doTest"
      ]
    },
    {
      "page": "extend",
      "title": "Extend a longitudinal model.",
      "topics": [
        "extend"
      ]
    },
    {
      "page": "getData",
      "title": "Get an object's data.",
      "topics": [
        "getData",
        "getData<-"
      ]
    },
    {
      "page": "lastResult",
      "title": "Recover an unsaved simulation",
      "topics": [
        "lastResult"
      ]
    },
    {
      "page": "makeGlmer",
      "title": "Create an artificial mixed model object",
      "topics": [
        "makeGlmer",
        "makeLmer"
      ]
    },
    {
      "page": "modify",
      "title": "Modifying model parameters.",
      "topics": [
        "coef<-",
        "fixef<-",
        "modify",
        "scale<-",
        "sigma<-",
        "VarCorr<-"
      ]
    },
    {
      "page": "powerCurve",
      "title": "Estimate power at a range of sample sizes.",
      "topics": [
        "powerCurve"
      ]
    },
    {
      "page": "powerSim",
      "title": "Estimate power by simulation.",
      "topics": [
        "powerSim"
      ]
    },
    {
      "page": "print.powerSim",
      "title": "Report simulation results",
      "topics": [
        "confint.powerCurve",
        "confint.powerSim",
        "print.powerCurve",
        "print.powerSim",
        "summary.powerCurve",
        "summary.powerSim"
      ]
    },
    {
      "page": "simdata",
      "title": "Example dataset.",
      "topics": [
        "simdata"
      ]
    },
    {
      "page": "simrOptions",
      "title": "Options Settings for 'simr'",
      "topics": [
        "getSimrOption",
        "simrOptions"
      ]
    },
    {
      "page": "tests",
      "title": "Specify a statistical test to apply",
      "topics": [
        "compare",
        "fcompare",
        "fixed",
        "random",
        "rcompare",
        "tests"
      ]
    }
  ],
  "_readme": "https://github.com/pitakakariki/simr/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "binom",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmerTest",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plotrix",
    "plyr",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "RLRsim",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "fromscratch.Rmd",
      "filename": "fromscratch.html",
      "title": "Power analysis from scratch",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Covariates and parameters",
        "Build a model object",
        "Start the power analysis"
      ],
      "created": "2015-07-05 23:57:31",
      "modified": "2018-04-02 00:30:13",
      "commits": 9
    },
    {
      "source": "examples.Rmd",
      "filename": "examples.html",
      "title": "Test examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Binomial GLMM with a categorical predictor",
        "Models with interaction or quadratic terms",
        "Cake",
        "Budworms",
        "Single random effects",
        "Multiple random effects",
        "A note about errors during simulation"
      ],
      "created": "2015-01-27 03:24:52",
      "modified": "2015-12-14 03:29:43",
      "commits": 10
    }
  ],
  "_score": 11.447518137963666,
  "_indexed": true,
  "_nocasepkg": "simr",
  "_universes": [
    "pitakakariki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.11",
      "date": "2026-10-11T10:20:18.000Z",
      "distro": "resolute",
      "commit": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
      "fileid": "https://r2.ropensci.org/861ed0baa2ba218219ab566a74f292770f86bedff8a0519f8cd6e46094c2b339",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.11",
      "date": "2026-10-11T10:20:23.000Z",
      "distro": "resolute",
      "commit": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
      "fileid": "https://r2.ropensci.org/d9a7f2d012806fe00ba9cfc701faaa1e1cdd71e64b97f14f56c9c5dcf1e85351",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.11",
      "date": "2026-10-11T10:40:38.000Z",
      "commit": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
      "fileid": "https://r2.ropensci.org/e4123371734c0dc5e753ac3af905679bbe267bbe8b543551c369be7581a0efc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.11",
      "date": "2026-10-11T10:39:23.000Z",
      "commit": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
      "fileid": "https://r2.ropensci.org/7b4602fcc52220a6cfbb740af51078d2b06d363f00f23fbc73b53df097bc8aed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.11",
      "date": "2026-10-11T10:20:25.000Z",
      "commit": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
      "fileid": "https://r2.ropensci.org/90872fd05a6751a361ab44d266fb1822057c2e5acae29cfa8ef1b687d8cad7f6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.11",
      "date": "2026-10-11T10:19:27.000Z",
      "commit": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
      "fileid": "https://r2.ropensci.org/86abe67a1c7da20b0c93bd83023edd5249934419579cd28b575887017b5d224a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.11",
      "date": "2026-10-11T10:19:12.000Z",
      "commit": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
      "fileid": "https://r2.ropensci.org/c7003778446e9181bea5e09ef8bb701f5cf57351dabb08c050a808c2d0776976",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.11",
      "date": "2026-10-11T10:19:10.000Z",
      "commit": "e0c48db8e01f9ed10e2a41b0efd36783b2c2d4d4",
      "fileid": "https://r2.ropensci.org/c86f6c5ffd1b3d8b4efe394bb1fa16ea717b4b6b02affadb8461f61e4807cbae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/38131215298"
    }
  ]
}