Package: swdpwr 1.9

swdpwr: Power Calculation for Stepped Wedge Cluster Randomized Trials

To meet the needs of statistical power calculation for stepped wedge cluster randomized trials, we developed this software. Different parameters can be specified by users for different scenarios, including: cross-sectional and cohort designs, binary and continuous outcomes, marginal (GEE) and conditional models (mixed effects model), three link functions (identity, log, logit links), with and without time effects under exchangeable, nested exchangeable and block exchangeable correlation structures. Unequal numbers of clusters per sequence are also allowed. The methods included in this package: Zhou et al. (2020) <doi:10.1093/biostatistics/kxy031>, Li et al. (2018) <doi:10.1111/biom.12918>. Supplementary documents can be found at: <https://ysph.yale.edu/cmips/research/software/swdpwr/>. The Shiny app for swdpwr can be accessed at: <https://jiachenchen322.shinyapps.io/swdpwr_shinyapp/>. The package also includes functions that perform calculations for the intra-cluster correlation coefficients based on the random effects variances as input variables for continuous and binary outcomes, respectively.

Authors:Jiachen Chen [cre, aut], Xin Zhou [aut], Fan Li [aut] and Donna Spiegelman [aut].

swdpwr_1.9.tar.gz
swdpwr_1.9.zip(r-4.5)swdpwr_1.9.zip(r-4.4)swdpwr_1.9.zip(r-4.3)
swdpwr_1.9.tgz(r-4.4-x86_64)swdpwr_1.9.tgz(r-4.4-arm64)swdpwr_1.9.tgz(r-4.3-x86_64)swdpwr_1.9.tgz(r-4.3-arm64)
swdpwr_1.9.tar.gz(r-4.5-noble)swdpwr_1.9.tar.gz(r-4.4-noble)
swdpwr_1.9.tgz(r-4.4-emscripten)swdpwr_1.9.tgz(r-4.3-emscripten)
swdpwr.pdf |swdpwr.html
swdpwr/json (API)

# Install 'swdpwr' in R:
install.packages('swdpwr', repos = c('https://jiachenchen322.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • fortran– Runtime library for GNU Fortran applications

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3 exports 0.09 score 9 dependencies 6 scripts 320 downloads

Last updated 12 months agofrom:c70589ee49. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-win-x86_64OKSep 14 2024
R-4.5-linux-x86_64OKSep 14 2024
R-4.4-win-x86_64OKSep 14 2024
R-4.4-mac-x86_64OKSep 14 2024
R-4.4-mac-aarch64OKSep 14 2024
R-4.3-win-x86_64OKSep 14 2024
R-4.3-mac-x86_64OKSep 14 2024
R-4.3-mac-aarch64OKSep 14 2024

Exports:BinICCContICCswdpower

Dependencies:deldirlatticeMatrixpolyclipspatstat.dataspatstat.geomspatstat.randomspatstat.univarspatstat.utils