{
  "_id": "6a156984acfb0bcc41d62b3d",
  "Package": "SteppedPower",
  "Type": "Package",
  "Title": "Power Calculation for Stepped Wedge Designs",
  "Version": "0.3.5",
  "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",
  "RoxygenNote": "7.3.1",
  "Roxygen": "list(markdown=TRUE)",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://pmildenb.r-universe.dev",
  "Date/Publication": "2024-11-19 11:59:10 UTC",
  "RemoteUrl": "https://github.com/pmildenb/steppedpower",
  "RemoteRef": "HEAD",
  "RemoteSha": "8ae697706fb361f3ca75b8785d82328987a32e02",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 09:32:24 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>",
  "MD5sum": "63df1d66a07f50b0b0db146a6fe563c7",
  "_user": "pmildenb",
  "_type": "src",
  "_file": "SteppedPower_0.3.5.tar.gz",
  "_fileid": "acf52b6f25294bed88d5f1c7b5df42336d703bb25bde231b1617491b9d85dc3c",
  "_filesize": 289322,
  "_sha256": "acf52b6f25294bed88d5f1c7b5df42336d703bb25bde231b1617491b9d85dc3c",
  "_created": "2026-05-26T09:32:24.000Z",
  "_published": "2026-05-26T09:36:04.443Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77846498568,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213661889"
    },
    {
      "job": 77846498481,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213660172"
    },
    {
      "job": 77846498457,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213643783"
    },
    {
      "job": 77846498484,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213639060"
    },
    {
      "job": 77845910473,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213597275"
    },
    {
      "job": 77846498406,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213643510"
    },
    {
      "job": 77846498495,
      "time": 123,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213640442"
    },
    {
      "job": 77846498422,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213635816"
    },
    {
      "job": 77846498431,
      "time": 124,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213640439"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pmildenb/steppedpower",
  "_commit": {
    "id": "8ae697706fb361f3ca75b8785d82328987a32e02",
    "author": "Philipp Mildenberger <44525813+PMildenb@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update R-CMD-check.yaml",
    "time": 1732017550
  },
  "_maintainer": {
    "name": "Philipp Mildenberger",
    "email": "pmildenb@uni-mainz.de",
    "login": "pmildenb",
    "description": "",
    "uuid": 44525813,
    "orcid": "0000-0002-7367-1708"
  },
  "_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": "swCRTdesign",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "pwr",
      "role": "Suggests"
    }
  ],
  "_owner": "pmildenb",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pmildenb",
      "count": 483,
      "uuid": 44525813
    },
    {
      "user": "federicomarini",
      "count": 28,
      "uuid": 7447478
    }
  ],
  "_userbio": {
    "uuid": 44525813,
    "type": "user",
    "name": "Philipp Mildenberger"
  },
  "_downloads": {
    "count": 637,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SteppedPower"
  },
  "_devurl": "https://github.com/pmildenb/steppedpower",
  "_searchresults": 8,
  "_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/SteppedPower.html",
    "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",
        "Specification of the correlation structure",
        "A quick tour",
        "Features",
        "Plot Method",
        "Find Sample Size for given Power",
        "Use cases and examples",
        "Comparison of two groups -- Z-Test",
        "Longitudinal study -- parallel groups",
        "Stepped Wedge designs with empty sequences (i.e. waves)",
        "Autocorrelated random effects",
        "Unequal cluster sizes",
        "Incomplete Stepped Wedge Designs",
        "Adjustment for Secular Trends",
        "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": "2022-06-10 13:11:07",
      "commits": 24
    },
    {
      "source": "Incomplete_Designs.Rmd",
      "filename": "Incomplete_Designs.html",
      "title": "Incomplete Designs with SteppedPower",
      "author": "Philipp Mildenberger^[pmildenb@uni-mainz.de], Federico Marini^[marinif@uni-mainz.de]",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Incomplete Designs",
        "Incomplete Designs in SteppedPower",
        "Examples",
        "1",
        "2",
        "3"
      ],
      "created": "2022-08-10 10:41:00",
      "modified": "2024-09-18 13:30:43",
      "commits": 2
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "steppedpower",
  "_universes": [
    "pmildenb"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-05-26T09:35:00.000Z",
      "distro": "noble",
      "commit": "8ae697706fb361f3ca75b8785d82328987a32e02",
      "fileid": "e6f7513c33aef4282a61300923c62ce58aaed28ffecdc055bfa2d8b1fe5c83a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-05-26T09:34:56.000Z",
      "distro": "noble",
      "commit": "8ae697706fb361f3ca75b8785d82328987a32e02",
      "fileid": "8df055d161f043e3fc21b56510c34e7e64d04240dacb183b468fb8dd70aaddfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-05-26T09:34:30.000Z",
      "commit": "8ae697706fb361f3ca75b8785d82328987a32e02",
      "fileid": "a59cbdf456c023121c7131c0ddf9a1b487f7bad6cab4cc525c4e6b5182d93e6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-05-26T09:34:17.000Z",
      "commit": "8ae697706fb361f3ca75b8785d82328987a32e02",
      "fileid": "5610c6670064e001320b448f54d909178887eb5e10e9844076a01faf04d9dd37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5",
      "date": "2026-05-26T09:34:56.000Z",
      "commit": "8ae697706fb361f3ca75b8785d82328987a32e02",
      "fileid": "c36c0f11d8a6dbf5717d96b911fee0cecbebd216974e31070074dcd203c8427b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-05-26T09:33:57.000Z",
      "commit": "8ae697706fb361f3ca75b8785d82328987a32e02",
      "fileid": "ea9d6cc29859816d12700c01b7eacccda7bdaeba26a4f1a7b6f638129f7ad715",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-05-26T09:33:42.000Z",
      "commit": "8ae697706fb361f3ca75b8785d82328987a32e02",
      "fileid": "b2d4c034f65348e284da1ce7f464337fe0dd61f4025bf11b6cb90e98a02c7d52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-05-26T09:33:54.000Z",
      "commit": "8ae697706fb361f3ca75b8785d82328987a32e02",
      "fileid": "82c5c8a04e7f8accb6326fac4fc0f8bd484dd9406d602b39cf5de48bf3effd4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pmildenb/actions/runs/26444116517"
    }
  ]
}