{
  "_id": "6a5910aa09eb0996dd68bd75",
  "Package": "SteppedPower",
  "Type": "Package",
  "Title": "Power Calculation for Stepped Wedge Designs",
  "Version": "0.4.0",
  "Authors@R": "c(\nperson(\"Philipp\", \"Mildenberger\", role = c(\"aut\", \"cre\"), email = \"pmildenb@uni-mainz.de\", comment = c(ORCID = \"0000-0002-7367-1708\")),\nperson(\"Federico\", \"Marini\", role = \"ctb\", email = \"marinif@uni-mainz.de\", comment = c(ORCID = \"0000-0003-3252-7758\")))",
  "Description": "Tools for power and sample size calculation as well as\ndesign diagnostics for longitudinal mixed model settings, with\na focus on stepped wedge designs. All calculations are oracle\nestimates i.e. assume random effect variances to be known (or\nguessed) in advance. The method is introduced in Hussey and\nHughes (2007) <doi:10.1016/j.cct.2006.05.007>, extensions are\ndiscussed in Li et al. (2020) <doi:10.1177/0962280220932962>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown=TRUE)",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://pmildenb.r-universe.dev",
  "Date/Publication": "2026-07-14 15:37:39 UTC",
  "RemoteUrl": "https://github.com/pmildenb/steppedpower",
  "RemoteRef": "HEAD",
  "RemoteSha": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-16 17:07:07 UTC",
    "User": "root"
  },
  "Author": "Philipp Mildenberger [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7367-1708>),\nFederico Marini [ctb] (ORCID: <https://orcid.org/0000-0003-3252-7758>)",
  "Maintainer": "Philipp Mildenberger <pmildenb@uni-mainz.de>",
  "_user": "pmildenb",
  "_type": "src",
  "_file": "SteppedPower_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0e45a3ce13a5a87eecd30a87e349a3aa2a3fe3158a435dd0979537ac6b8d7840",
  "_filesize": 298965,
  "_sha256": "0e45a3ce13a5a87eecd30a87e349a3aa2a3fe3158a435dd0979537ac6b8d7840",
  "_expires": "2026-10-24T17:11:04.000Z",
  "_created": "2026-07-16T17:07:07.000Z",
  "_published": "2026-07-16T17:11:06.162Z",
  "_jobs": [
    {
      "job": 87689313157,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8383738443"
    },
    {
      "job": 87689313146,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8383746573"
    },
    {
      "job": 87689313140,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8383698214"
    },
    {
      "job": 87689313139,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8383720931"
    },
    {
      "job": 87688545125,
      "time": 194,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8383651015"
    },
    {
      "job": 87689313223,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8383711466"
    },
    {
      "job": 87689313267,
      "time": 115,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8383707316"
    },
    {
      "job": 87689313235,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8383709084"
    },
    {
      "job": 87689313242,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8383704318"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856",
  "_status": "success",
  "_upstream": "https://github.com/pmildenb/steppedpower",
  "_commit": {
    "id": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
    "author": "Philipp Mildenberger <pmildenb@uni-mainz.de>",
    "committer": "Philipp Mildenberger <pmildenb@uni-mainz.de>",
    "message": "Merge branch 'devel'\n",
    "time": 1784043459
  },
  "_maintainer": {
    "name": "Philipp Mildenberger",
    "email": "pmildenb@uni-mainz.de",
    "login": "pmildenb",
    "description": "",
    "uuid": 44525813,
    "orcid": "0000-0002-7367-1708"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "Rfast",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pwr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "pmildenb",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pmildenb",
      "count": 494,
      "uuid": 44525813
    },
    {
      "user": "federicomarini",
      "count": 28,
      "uuid": 7447478
    }
  ],
  "_userbio": {
    "uuid": 44525813,
    "type": "user",
    "name": "Philipp Mildenberger",
    "followers": 4
  },
  "_downloads": {
    "count": 491,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SteppedPower"
  },
  "_devurl": "https://github.com/pmildenb/steppedpower",
  "_searchresults": 11,
  "_rbuild": "4.6.1",
  "_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/SteppedPower.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pmildenb/steppedpower",
  "_realowner": "pmildenb",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-02-04"
    },
    {
      "version": "0.2.0",
      "date": "2021-07-07"
    },
    {
      "version": "0.3.1",
      "date": "2021-12-16"
    },
    {
      "version": "0.3.2",
      "date": "2022-07-05"
    },
    {
      "version": "0.3.4",
      "date": "2023-09-13"
    },
    {
      "version": "0.3.5",
      "date": "2024-04-29"
    }
  ],
  "_exports": [
    "alpha012_to_RandEff",
    "compute_glsPower",
    "compute_InfoContent",
    "construct_CovBlk",
    "construct_CovMat",
    "construct_DesMat",
    "construct_incompMat",
    "construct_timeAdjust",
    "construct_trtMat",
    "glsPower",
    "icc_to_RandEff",
    "plot_CellWeights",
    "plot_InfoContent",
    "RandEff_to_alpha012",
    "RandEff_to_icc",
    "tTestPwr",
    "VarClosed_Kasza",
    "VarClosed_Li"
  ],
  "_help": [
    {
      "page": "alpha012_to_RandEff",
      "title": "Transform alpha to random effects",
      "topics": [
        "alpha012_to_RandEff"
      ]
    },
    {
      "page": "compute_glsPower",
      "title": "Compute power via weighted least squares",
      "topics": [
        "compute_glsPower"
      ]
    },
    {
      "page": "compute_InfoContent",
      "title": "Title Formula-based calculation of information content",
      "topics": [
        "compute_InfoContent"
      ]
    },
    {
      "page": "construct_CovBlk",
      "title": "Construct a Single Block of the Covariance Matrix",
      "topics": [
        "construct_CovBlk"
      ]
    },
    {
      "page": "construct_CovMat",
      "title": "Construct a Covariance Matrix",
      "topics": [
        "construct_CovMat"
      ]
    },
    {
      "page": "construct_CovSubMat",
      "title": "Construct a Block of the Covariance Matrix",
      "topics": [
        "construct_CovSubMat"
      ]
    },
    {
      "page": "construct_DesMat",
      "title": "Construct the Design Matrix",
      "topics": [
        "construct_DesMat"
      ]
    },
    {
      "page": "construct_incompMat",
      "title": "Constructs a matrix of 'NA' and '1' for unobserved and observed cluster periods, respectively.",
      "topics": [
        "construct_incompMat"
      ]
    },
    {
      "page": "construct_timeAdjust",
      "title": "Construct the time period adjustment in the design matrix",
      "topics": [
        "construct_timeAdjust"
      ]
    },
    {
      "page": "construct_trtMat",
      "title": "Construct Treatment Matrix",
      "topics": [
        "construct_trtMat"
      ]
    },
    {
      "page": "glsPower",
      "title": "Compute power via weighted least squares",
      "topics": [
        "glsPower"
      ]
    },
    {
      "page": "icc_to_RandEff",
      "title": "Transform ICC, CAC, IAC into random effects",
      "topics": [
        "icc_to_RandEff"
      ]
    },
    {
      "page": "plot_CellWeights",
      "title": "plot cell contributions (weights) of a gls object",
      "topics": [
        "plot_CellWeights"
      ]
    },
    {
      "page": "plot_CovMat",
      "title": "Visualise a Covariance Matrix",
      "topics": [
        "plot_CovMat"
      ]
    },
    {
      "page": "plot_InfoContent",
      "title": "plot the information content of a gls object",
      "topics": [
        "plot_InfoContent"
      ]
    },
    {
      "page": "plot.DesMat",
      "title": "plot.DesMat",
      "topics": [
        "plot.DesMat"
      ]
    },
    {
      "page": "plot.glsPower",
      "title": "plot an object of class 'glsPower'",
      "topics": [
        "plot.glsPower"
      ]
    },
    {
      "page": "print.DesMat",
      "title": "print.DesMat",
      "topics": [
        "print.DesMat"
      ]
    },
    {
      "page": "print.glsPower",
      "title": "Print an object of class 'glsPower'",
      "topics": [
        "print.glsPower"
      ]
    },
    {
      "page": "RandEff_to_alpha012",
      "title": "Transform random effects to alpha",
      "topics": [
        "RandEff_to_alpha012"
      ]
    },
    {
      "page": "RandEff_to_icc",
      "title": "Transform random effects into ICC, CAC, IAC",
      "topics": [
        "RandEff_to_icc"
      ]
    },
    {
      "page": "SteppedPower-pkg",
      "title": "SteppedPower",
      "topics": [
        "SteppedPower-package",
        "SteppedPower-pkg"
      ]
    },
    {
      "page": "tTestPwr",
      "title": "Compute Power of a Wald Test",
      "topics": [
        "tTestPwr"
      ]
    },
    {
      "page": "VarClosed_Kasza",
      "title": "Closed formula for treatment variance in open cohort settings",
      "topics": [
        "VarClosed_Kasza"
      ]
    },
    {
      "page": "VarClosed_Li",
      "title": "Closed formula for treatment variance, with proportional decay",
      "topics": [
        "VarClosed_Li"
      ]
    }
  ],
  "_readme": "https://github.com/pmildenb/steppedpower/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "Rfast",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zigg"
  ],
  "_vignettes": [
    {
      "source": "Getting_Started.Rmd",
      "filename": "Getting_Started.html",
      "title": "Getting Started with SteppedPower",
      "author": "Philipp Mildenberger^[pmildenb@uni-mainz.de], Federico Marini^[marinif@uni-mainz.de]",
      "engine": "knitr::rmarkdown",
      "headings": [
        "About SteppedPower",
        "Methods and Notation",
        "Covariance Structure Specifications",
        "$\\alpha_0$, $\\alpha_1$, $\\alpha_2$",
        "ICC, CAC and IAC",
        "Key functions",
        "glsPower",
        "construct_-functions",
        "Features",
        "Plotting",
        "Find Sample Size for given Power",
        "Unequal Cluster Sizes",
        "Incomplete Stepped Wedge Designs",
        "Autocorrelated random effects",
        "Adjustment for Secular Trends",
        "Non-Gaussian outcomes",
        "Use Cases",
        "Cross-sectional Parallel Group Design",
        "Longitudinal Parallel Design",
        "Stepped Wedge designs with empty sequences (i.e. empty waves)",
        "Closed cohort SWD",
        "Open cohort designs",
        "Covariance structure for open cohort designs",
        "Reproducing common closed formulae",
        "Closed formula for proportional decay structure",
        "Closed formula for open cohort designs",
        "Session Info",
        "References"
      ],
      "created": "2020-09-07 13:43:54",
      "modified": "2026-07-14 13:46:57",
      "commits": 25
    },
    {
      "source": "Incomplete_Designs.Rmd",
      "filename": "Incomplete_Designs.html",
      "title": "Incomplete Designs with SteppedPower",
      "author": "Philipp Mildenberger^[pmildenb@uni-mainz.de]",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Main Types of Incomplete Designs",
        "Defining Incomplete Designs in SteppedPower",
        "Examples",
        "1",
        "2",
        "3"
      ],
      "created": "2022-08-10 10:41:00",
      "modified": "2026-07-14 13:46:57",
      "commits": 3
    }
  ],
  "_score": 4.041392685158225,
  "_indexed": true,
  "_nocasepkg": "steppedpower",
  "_universes": [
    "pmildenb"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-07-16T17:09:36.000Z",
      "distro": "resolute",
      "commit": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
      "fileid": "https://r2.ropensci.org/29d47152b429afb3f0eb0445eb1a03684e05372e257b1ec6c379bbb2dca15d96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-07-16T17:09:53.000Z",
      "distro": "resolute",
      "commit": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
      "fileid": "https://r2.ropensci.org/8db6c580690b0550c3c4d9dc20dabeaee96f9296244e50c323dc15bbca6e94c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-07-16T17:08:36.000Z",
      "commit": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
      "fileid": "https://r2.ropensci.org/4d3248d5f3b6018facfdbee2def8d8c9293d811b52415aa2e0f8601ebb93f825",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-07-16T17:09:08.000Z",
      "commit": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
      "fileid": "https://r2.ropensci.org/60eedf7101d1835ca5c40d76f6c0d5a77d49dc2c30cc91ec04b63b96fce96673",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-07-16T17:09:28.000Z",
      "commit": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
      "fileid": "https://r2.ropensci.org/674079e10775dd8d76bc77e5d95c754359ed35669d952bbd3d8da7bf5947311b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-16T17:08:27.000Z",
      "commit": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
      "fileid": "https://r2.ropensci.org/10596af330d15abf477370195030b9dba322aaaed644597bbd6b5cef948df7a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-16T17:08:31.000Z",
      "commit": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
      "fileid": "https://r2.ropensci.org/d7247e4c793ba06197a3984c18f9029e202aa0c21db5889caae58d421a32ec40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-16T17:08:21.000Z",
      "commit": "911f4743b3631f9c0a2793a3ddd706a0ed405478",
      "fileid": "https://r2.ropensci.org/7d21ddb2f4962b8de2ae3acc592552360b074f8f2c5de5695478a3ac649fe583",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/29518215856"
    }
  ]
}