{
  "_id": "6a17e612acfb0bcc41da12a9",
  "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.9-1",
  "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",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://pitakakariki.r-universe.dev",
  "Date/Publication": "2026-03-29 16:56:40 UTC",
  "RemoteUrl": "https://github.com/pitakakariki/simr",
  "RemoteRef": "HEAD",
  "RemoteSha": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 06:46:25 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>",
  "MD5sum": "2f9e7a0603f0d8a401e0329bb201d78c",
  "_user": "pitakakariki",
  "_type": "src",
  "_file": "simr_1.0.9-1.tar.gz",
  "_fileid": "408baf5340fff96e9f43396801107ac6acfa83070f78c51407973f1a3fd2a263",
  "_filesize": 175432,
  "_sha256": "408baf5340fff96e9f43396801107ac6acfa83070f78c51407973f1a3fd2a263",
  "_created": "2026-05-28T06:46:25.000Z",
  "_published": "2026-05-28T06:52:02.151Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78238331821,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259448358"
    },
    {
      "job": 78238331827,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259449185"
    },
    {
      "job": 78238331820,
      "time": 153,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259464824"
    },
    {
      "job": 78238331824,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259465461"
    },
    {
      "job": 78237849317,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259401393"
    },
    {
      "job": 78238331809,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259430886"
    },
    {
      "job": 78238331833,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259436569"
    },
    {
      "job": 78238331830,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259435052"
    },
    {
      "job": 78238331832,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259435094"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pitakakariki/simr",
  "_commit": {
    "id": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
    "author": "Peter Green <peter@tadorna.co.nz>",
    "committer": "Peter Green <peter@tadorna.co.nz>",
    "message": "Version bump for development\n",
    "time": 1774803400
  },
  "_maintainer": {
    "name": "Peter Green",
    "email": "simr.peter@gmail.com",
    "login": "pitakakariki",
    "description": "",
    "uuid": 1023705,
    "orcid": "0000-0002-0238-9852"
  },
  "_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": 2,
  "_updates": [
    {
      "week": "2025-33",
      "n": 9
    },
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "1.0.8",
      "date": "2025-08-18"
    },
    {
      "name": "1.0.9",
      "date": "2026-03-29"
    }
  ],
  "_stars": 77,
  "_contributors": [
    {
      "user": "pitakakariki",
      "count": 299,
      "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"
  },
  "_downloads": {
    "count": 4323,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simr"
  },
  "_mentions": 46,
  "_devurl": "https://github.com/pitakakariki/simr",
  "_searchresults": 866,
  "_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/readme.html",
    "extra/readme.md",
    "extra/simr.html",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
    "microbenchmark",
    "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.442065085763048,
  "_indexed": true,
  "_nocasepkg": "simr",
  "_universes": [
    "pitakakariki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.9-1",
      "date": "2026-05-28T06:48:58.000Z",
      "distro": "noble",
      "commit": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
      "fileid": "f266076d603b6cad05cb3228d89df963b8bd00e1eeebdd31f7c89881d6d80377",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.9-1",
      "date": "2026-05-28T06:49:06.000Z",
      "distro": "noble",
      "commit": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
      "fileid": "757a9bd5e4e7037917db35c624c6b6d8bc69b31d18f2e85683fc557b24a6fabb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.9-1",
      "date": "2026-05-28T06:50:32.000Z",
      "commit": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
      "fileid": "40345f45cd69b01e271c894288109511f8ed6ca4e47374a97f0c58870331a51c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.9-1",
      "date": "2026-05-28T06:50:29.000Z",
      "commit": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
      "fileid": "64785098ef12af5ea2a15b7c378de82a75434caf5406f06190319125df253ccd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.9-1",
      "date": "2026-05-28T06:48:45.000Z",
      "commit": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
      "fileid": "fb9721afcce02ef9337051c39db637323c19bd87304a4473eb78782e8bcc4530",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.9-1",
      "date": "2026-05-28T06:48:01.000Z",
      "commit": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
      "fileid": "f43c69fee55474c8841cdd7624f0b293e9be9b8edc6d5a00ea046189cce5684a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.9-1",
      "date": "2026-05-28T06:47:57.000Z",
      "commit": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
      "fileid": "bed972665b27ab7460758f3bc8a364f93437031b7c90a022a521695d288911cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.9-1",
      "date": "2026-05-28T06:47:50.000Z",
      "commit": "33ee7dfa8c5b304a24a6c31bc5507016b3c7cef2",
      "fileid": "81ce12d54c781894d2d4aaa9a9892a028731c456a99e71b0084735eff00613df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pitakakariki/actions/runs/26559189022"
    }
  ]
}