{
  "_id": "6a102f46acfb0bcc41c94d16",
  "Package": "PowRPriori",
  "Title": "Power Analysis via Data Simulation for (Generalized) Linear\nMixed Effects Models",
  "Version": "0.2.0",
  "Authors@R": "person(\"Markus\", \"Grill\", email = \"markus.grill@uni-wh.de\", role = c(\"aut\", \"cre\"))",
  "Description": "Conduct a priori power analyses via Monte-Carlo style data\nsimulation for linear and generalized linear mixed-effects\nmodels (LMMs/GLMMs). Provides a user-friendly workflow with\nhelper functions to easily define fixed and random effects as\nwell as diagnostic functions to evaluate the adequacy of the\nresults of the power analysis.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/mirgll/PowRPriori",
  "BugReports": "https://github.com/mirgll/PowRPriori/issues",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://mirgll.r-universe.dev",
  "Date/Publication": "2026-05-12 11:37:32 UTC",
  "RemoteUrl": "https://github.com/mirgll/powrpriori",
  "RemoteRef": "HEAD",
  "RemoteSha": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 14:24:20 UTC",
    "User": "root"
  },
  "Author": "Markus Grill [aut, cre]",
  "Maintainer": "Markus Grill <markus.grill@uni-wh.de>",
  "MD5sum": "040af875607554aa5b9a32c3592ece3d",
  "_user": "mirgll",
  "_type": "src",
  "_file": "PowRPriori_0.2.0.tar.gz",
  "_fileid": "02b31792e8272d40d107ed5a0da00585427e5494ead4cb8a4595062b848d054b",
  "_filesize": 2131457,
  "_sha256": "02b31792e8272d40d107ed5a0da00585427e5494ead4cb8a4595062b848d054b",
  "_created": "2026-05-12T14:24:20.000Z",
  "_published": "2026-05-22T10:26:14.586Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77361402357,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6946863275"
    },
    {
      "job": 77361402561,
      "time": 210,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946878758"
    },
    {
      "job": 77361402617,
      "time": 208,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946849334"
    },
    {
      "job": 77361402506,
      "time": 252,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946873761"
    },
    {
      "job": 77361401980,
      "time": 245,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946786472"
    },
    {
      "job": 77361402133,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158305798"
    },
    {
      "job": 77361402415,
      "time": 125,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6946840661"
    },
    {
      "job": 77361402654,
      "time": 132,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946843574"
    },
    {
      "job": 77361402598,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946833413"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mirgll/powrpriori",
  "_commit": {
    "id": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
    "author": "Markus Grill <markus.grill@uni-wh.de>",
    "committer": "Markus Grill <markus.grill@uni-wh.de>",
    "message": "Fixed examples in documentation and added small bug fixes\n",
    "time": 1778585852
  },
  "_maintainer": {
    "name": "Markus Grill",
    "email": "markus.grill@uni-wh.de",
    "login": "mirgll",
    "uuid": 149806925
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "doFuture",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "lmerTest",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mirgll",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-40",
      "n": 10
    },
    {
      "week": "2025-50",
      "n": 4
    },
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 5
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mirgll",
      "count": 29,
      "uuid": 149806925
    }
  ],
  "_userbio": {
    "uuid": 149806925,
    "type": "user",
    "name": "mirgll"
  },
  "_downloads": {
    "count": 197,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PowRPriori"
  },
  "_devurl": "https://github.com/mirgll/powrpriori",
  "_searchresults": 0,
  "_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/PowRPriori.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mirgll/powrpriori",
  "_realowner": "mirgll",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-12-14"
    },
    {
      "version": "0.1.2",
      "date": "2026-01-28"
    },
    {
      "version": "0.2.0",
      "date": "2026-05-12"
    }
  ],
  "_exports": [
    "%>%",
    "define_design",
    "fixed_effects_from_average_outcome",
    "get_fixed_effects_structure",
    "get_random_effects_structure",
    "plot_sim_model",
    "power_sim"
  ],
  "_help": [
    {
      "page": "dot-center_predictors",
      "title": "Internal Helper Function for Mean-Centering",
      "topics": [
        ".center_predictors"
      ]
    },
    {
      "page": "dot-create_design_matrix",
      "title": "Create the Design Matrix for a Simulation",
      "topics": [
        ".create_design_matrix"
      ]
    },
    {
      "page": "dot-plot_data",
      "title": "Internal Data Plotting Engine",
      "topics": [
        ".plot_data"
      ]
    },
    {
      "page": "dot-simulate_outcome",
      "title": "Simulate the Outcome Variable",
      "topics": [
        ".simulate_outcome"
      ]
    },
    {
      "page": "dot-to_factor_safely",
      "title": "Safely Convert Character Vectors to Factors",
      "topics": [
        ".to_factor_safely"
      ]
    },
    {
      "page": "define_design",
      "title": "Define the Structure of a Planned Experimental Design",
      "topics": [
        "define_design"
      ]
    },
    {
      "page": "fixed_effects_from_average_outcome",
      "title": "Calculate Fixed-Effects Coefficients from Mean Outcomes",
      "topics": [
        "fixed_effects_from_average_outcome"
      ]
    },
    {
      "page": "get_fixed_effects_structure",
      "title": "Get the Expected Fixed-Effects Structure",
      "topics": [
        "get_fixed_effects_structure"
      ]
    },
    {
      "page": "get_random_effects_structure",
      "title": "Get the Expected Random-Effects Structure",
      "topics": [
        "get_random_effects_structure"
      ]
    },
    {
      "page": "plot_sim_model",
      "title": "Visualize Simulation Data or Power Simulation Results",
      "topics": [
        "plot_sim_model",
        "plot_sim_model.formula",
        "plot_sim_model.PowRPriori"
      ]
    },
    {
      "page": "power_sim",
      "title": "Perform a Power Analysis for (Generalized) Linear Mixed-Effects Models via Data Simulation",
      "topics": [
        "power_sim"
      ]
    },
    {
      "page": "summary.PowRPriori",
      "title": "Summarize a Power Simulation Result",
      "topics": [
        "summary.PowRPriori"
      ]
    }
  ],
  "_readme": "https://github.com/mirgll/powrpriori/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "doFuture",
    "dplyr",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lme4",
    "lmerTest",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Workflow-Example.Rmd",
      "filename": "Workflow-Example.html",
      "title": "Power Analysis with PowRPriori: A Complete Workflow with Different Examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Getting Started",
        "Complete Example of the Workflow: A 2x2 Mixed Design",
        "Step 1: Defining the Study Design",
        "Step 2: Defining the Statistical Model",
        "Fixed effects in lme4-formulas",
        "Random effects in lme4-formulas",
        "Step 3: Specifying the Hypothesized Effects",
        "Scenario A: You do not know the values of the coefficients",
        "Scenario B: You already know the values of the coefficients",
        "Centering of Predictors",
        "Step 4: Specifying the Random Effects",
        "Step 5: Run the Simulation",
        "Step 6: Interpret and Visualize the Results",
        "The Summary Table",
        "The Power Curve",
        "Plotting sample data",
        "Other Use Cases",
        "Use Case 1: A Cluster-Randomized Trial",
        "Use Case 2: Crossed Designs",
        "Use Case 3: Generalized linear mixed models (GLMMs)",
        "Use Case 4: Using Intraclass Coefficients for the Random Effects Structure",
        "Conclusion",
        "References"
      ],
      "created": "2025-09-29 10:50:31",
      "modified": "2026-04-28 07:26:42",
      "commits": 14
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "powrpriori",
  "_universes": [
    "mirgll"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-12T14:26:55.000Z",
      "distro": "noble",
      "commit": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
      "fileid": "79b87eae4ca6c6aa8c986ad537fba61cc04c3736f53b8f28243ac013b9b8e641",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-12T14:27:34.000Z",
      "distro": "noble",
      "commit": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
      "fileid": "ad69fa0b3129f85ee8d4d361c829fd58f062ad0e397cc997528294f7f461cc9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-12T14:26:39.000Z",
      "commit": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
      "fileid": "ccb504aa1d9f82f1f25fec0e4358a35321be07770b6ff43813d132f0c6bb774b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-12T14:27:16.000Z",
      "commit": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
      "fileid": "efd34a1a241606d2c2d3020d8dd2a91aea2622a747789132a00f40d270f5cbf8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-12T14:25:56.000Z",
      "commit": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
      "fileid": "6f41fa6f731486e7d44cab91b38fa9f0c993ddb9c62c13dbcdab97163c3c4023",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-12T14:26:01.000Z",
      "commit": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
      "fileid": "531f4674e1d48391b8078c5d168e153d3bbc5e2ebc56e3ae3d204482d6bcdf72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-12T14:25:35.000Z",
      "commit": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
      "fileid": "e1517deb2a970890ec797529828684b482a4f24188442d30efb36d0d73bf511e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T10:25:52.000Z",
      "commit": "8465baae15892c652f9d5d4a1b1a1f0c1e9ab2ec",
      "fileid": "f1e939d824f96f50483c40b135a54430a58c2aab32468c3fc61ac5af45c1f8fa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mirgll/actions/runs/25740561637"
    }
  ]
}