{
  "_id": "6a116f50acfb0bcc41cf5b99",
  "Package": "powergrid",
  "Title": "Power Analysis Across a Grid of Assumptions",
  "Version": "0.5.2",
  "Authors@R": "c(\nperson(given = \"Gilles\",\nfamily = \"Dutilh\", email = \"info@gillesdutilh.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6719-2508\")),\nperson(given = \"Richard Charles\",\nfamily = \"Allen\", email = \"richardcharles.allen@usb.ch\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0001-6012-7888\"))\n)",
  "Description": "Evaluate a function across a grid of parameters. The\nfunction may be evaluated once, or many times for simulation.\nParallel computing is facilitated. Utilities aim at performing\nanalyses of power and sample size, allowing for easy search of\nminimum n (or min/max of any other parameter) to achieve a\ndesired minimal level of power (or maximum of any other\nobjective). Plotting functions are included that present the\ndependency of n and power in relation to further assumptions.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/SwissClinicalTrialOrganisation/powergrid",
  "BugReports": "https://github.com/SwissClinicalTrialOrganisation/powergrid/issues",
  "Repository": "https://dcr-unibe-ch.r-universe.dev",
  "Date/Publication": "2026-04-23 12:15:50 UTC",
  "RemoteUrl": "https://github.com/SwissClinicalTrialOrganisation/powergrid",
  "RemoteRef": "HEAD",
  "RemoteSha": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 09:08:53 UTC",
    "User": "root"
  },
  "Author": "Gilles Dutilh [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6719-2508>),\nRichard Charles Allen [aut] (ORCID:\n<https://orcid.org/0000-0001-6012-7888>)",
  "Maintainer": "Gilles Dutilh <info@gillesdutilh.com>",
  "MD5sum": "65faa7d1eb0f165777ce69681043976d",
  "_user": "dcr-unibe-ch",
  "_type": "src",
  "_file": "powergrid_0.5.2.tar.gz",
  "_fileid": "b0420dbbc1160da0e4e31fff072a7fde14f52d976ed8d8600a1b6c02897b8df7",
  "_filesize": 961637,
  "_sha256": "b0420dbbc1160da0e4e31fff072a7fde14f52d976ed8d8600a1b6c02897b8df7",
  "_created": "2026-05-23T09:08:53.000Z",
  "_published": "2026-05-23T09:11:44.182Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77511438624,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7175863704"
    },
    {
      "job": 77511438620,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7175863464"
    },
    {
      "job": 77511438628,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7175860447"
    },
    {
      "job": 77511438644,
      "time": 76,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7175858391"
    },
    {
      "job": 77511308761,
      "time": 162,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175852082"
    },
    {
      "job": 77511438606,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175860105"
    },
    {
      "job": 77511438633,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7175860645"
    },
    {
      "job": 77511438643,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7175859322"
    },
    {
      "job": 77511438634,
      "time": 102,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7175860501"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/SwissClinicalTrialOrganisation/powergrid",
  "_commit": {
    "id": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
    "author": "gillesdutilh <gilles.dutilh@gmail.com>",
    "committer": "gillesdutilh <gilles.dutilh@gmail.com>",
    "message": "typo causing broken link in AddExample docs\n",
    "time": 1776946550
  },
  "_maintainer": {
    "name": "Gilles Dutilh",
    "email": "info@gillesdutilh.com",
    "orcid": "0000-0002-6719-2508"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "version": ">= 1.11.2",
      "role": "Suggests"
    },
    {
      "package": "future",
      "version": ">= 1.33.2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    }
  ],
  "_owner": "swissclinicaltrialorganisation",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 2
    },
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 12
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 5
    },
    {
      "week": "2025-36",
      "n": 50
    },
    {
      "week": "2025-37",
      "n": 33
    },
    {
      "week": "2025-38",
      "n": 5
    },
    {
      "week": "2025-39",
      "n": 5
    },
    {
      "week": "2025-40",
      "n": 9
    },
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2025-09-10"
    },
    {
      "name": "v0.3.0",
      "date": "2025-09-11"
    },
    {
      "name": "v0.4.0",
      "date": "2025-09-16"
    },
    {
      "name": "v0.5.1",
      "date": "2025-09-30"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "gillesdutilh",
      "count": 355,
      "uuid": 45421065
    },
    {
      "user": "allenr-ch",
      "count": 71,
      "uuid": 208921946
    },
    {
      "user": "aghaynes",
      "count": 9,
      "uuid": 6594028
    }
  ],
  "_userbio": {
    "uuid": 264417472,
    "type": "organization",
    "name": "Department of Clinical Research (DCR)",
    "description": "As the University of Bern's Department of Clinical Research, we offer clinical researchers full support from study design to study conduct."
  },
  "_downloads": {
    "count": 149,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/powergrid"
  },
  "_devurl": "https://github.com/swissclinicaltrialorganisation/powergrid",
  "_searchresults": 9,
  "_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/powergrid.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/swissclinicaltrialorganisation/powergrid",
  "_realowner": "swissclinicaltrialorganisation",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2025-10-03"
    }
  ],
  "_exports": [
    "AddExample",
    "ArraySlicer",
    "Example",
    "FindTarget",
    "GridPlot",
    "PowerDF",
    "PowerGrid",
    "PowerPlot",
    "Refine",
    "SummarizeIterations"
  ],
  "_help": [
    {
      "page": "sub-.power_array",
      "title": "indexing with [ ] for class 'power_array' [ ]: R:%20",
      "topics": [
        "[.power_array"
      ]
    },
    {
      "page": "AddExample",
      "title": "Add an example to an existing PowerPlot or GridPlot",
      "topics": [
        "AddExample"
      ]
    },
    {
      "page": "ArraySlicer",
      "title": "Cut slice from array (typically of class 'power_array')",
      "topics": [
        "ArraySlicer"
      ]
    },
    {
      "page": "CheckArrayDim",
      "title": "Check the dimensions of a power array",
      "topics": [
        "CheckArrayDim"
      ]
    },
    {
      "page": "EnsureSingleFunOut",
      "title": "Ensure a power_array has only a single fun_out value",
      "topics": [
        "EnsureSingleFunOut"
      ]
    },
    {
      "page": "EnsureSummarized",
      "title": "Ensure a power_array is summarized",
      "topics": [
        "EnsureSummarized"
      ]
    },
    {
      "page": "Example",
      "title": "Find combination of parameters required for achieving a desired power (or other objective).",
      "topics": [
        "Example"
      ]
    },
    {
      "page": "FindTarget",
      "title": "Find requirements for target power (or other objective)",
      "topics": [
        "FindTarget"
      ]
    },
    {
      "page": "GridPlot",
      "title": "Plot requirements for achieving a target power as a function of assumptions about two parameters",
      "topics": [
        "GridPlot"
      ]
    },
    {
      "page": "PowerDF",
      "title": "Transform power_array into power_df",
      "topics": [
        "PowerDF"
      ]
    },
    {
      "page": "PowerGrid",
      "title": "Evaluate function (iteratively) at a grid of input arguments",
      "topics": [
        "PowerGrid"
      ]
    },
    {
      "page": "PowerPlot",
      "title": "Plot the relation between assumed parameters and requirements for achieving a target power (or other objective)",
      "topics": [
        "PowerPlot"
      ]
    },
    {
      "page": "print.power_array",
      "title": "print",
      "topics": [
        "print.power_array"
      ]
    },
    {
      "page": "print.power_example",
      "title": "Print example",
      "topics": [
        "print.power_example"
      ]
    },
    {
      "page": "Refine",
      "title": "Refine or extend the result of PowerGrid",
      "topics": [
        "Refine"
      ]
    },
    {
      "page": "SummarizeIterations",
      "title": "Summary of object that has individual iterations saved.",
      "topics": [
        "SummarizeIterations"
      ]
    },
    {
      "page": "summary.power_array",
      "title": "Summary of power_grid object.",
      "topics": [
        "summary.power_array"
      ]
    },
    {
      "page": "summary.power_example",
      "title": "Print contents of an example",
      "topics": [
        "summary.power_example"
      ]
    }
  ],
  "_readme": "https://github.com/SwissClinicalTrialOrganisation/powergrid/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "powergrid.Rmd",
      "filename": "powergrid.html",
      "title": "powergrid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Functions covered",
        "Outline",
        "Technical example",
        "Now, forget about FindTarget!",
        "Four use cases",
        "Power and sample size for a t-test",
        "Calculate and inspect",
        "Focus on an example situation",
        "Draw a figure with example",
        "Why target, not power?",
        "More elaborate exploration of power",
        "GridPlot",
        "Power evaluation using simulation and resampling",
        "Target a maximum CI95-width",
        "Find the upper bound"
      ],
      "created": "2025-03-27 18:31:56",
      "modified": "2025-10-01 10:24:58",
      "commits": 9
    }
  ],
  "_score": 5.230448921378274,
  "_indexed": false,
  "_nocasepkg": "powergrid",
  "_universes": [
    "dcr-unibe-ch"
  ],
  "_indexurl": "https://swissclinicaltrialorganisation.r-universe.dev/powergrid",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-05-23T09:10:55.000Z",
      "distro": "noble",
      "commit": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
      "fileid": "76ca0d72cd4c54d19543f58add39847836e4ebb568ab6a671e93675ff279db0b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-05-23T09:10:51.000Z",
      "distro": "noble",
      "commit": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
      "fileid": "cb13d9ec1f9d159e9fdfcf9372423c74cb8b7795b35c6398c94b6b261de7fc43",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-05-23T09:10:26.000Z",
      "commit": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
      "fileid": "ddf0dabc46689c22405946dc54acfe4d751cc2495bf293d04e7ca93d3234bd0e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-05-23T09:10:08.000Z",
      "commit": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
      "fileid": "9283f4a9a6761eb279c0facd74e59f6e50c9edf3f0dd0798a595e01f7bdba9f2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.2",
      "date": "2026-05-23T09:10:45.000Z",
      "commit": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
      "fileid": "fcc9c7daab5ab1bddcbbf290faf5415131e90539726565661d79755ebb9b9d8a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-05-23T09:10:09.000Z",
      "commit": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
      "fileid": "1a2f7e48633131ee26675e199214053ce954031a628f4f618160960b983a54f9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-05-23T09:09:59.000Z",
      "commit": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
      "fileid": "ef200ef650eb31a3849fc56689311fec18f04fe3d6b95eccba5b3d33658c6947",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-05-23T09:10:08.000Z",
      "commit": "4cd66e6a3317ec62abb68f57dc7ab59d202cc9e9",
      "fileid": "cffec82c6972ce5c80d9f42f1de08fdb3d70e8c881e44249bc66715846efb6fa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26328843755"
    }
  ]
}