Other packages > Find by keyword >

swdpwr  

Power Calculation for Stepped Wedge Cluster Randomized Trials
View on CRAN: Click here


Download and install swdpwr package within the R console
Install from CRAN:
install.packages("swdpwr")

Install from Github:
library("remotes")
install_github("cran/swdpwr")

Install by package version:
library("remotes")
install_version("swdpwr", "1.12")



Attach the package and use:
library("swdpwr")
Maintained by
Jiachen Chen
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-10-26
Latest Update: 2024-10-08
Description:
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.
How to cite:
Jiachen Chen (2020). swdpwr: Power Calculation for Stepped Wedge Cluster Randomized Trials. R package version 1.12, https://cran.r-project.org/web/packages/swdpwr. Accessed 28 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:11), 1.1 (2020-10-26 11:10), 1.3 (2020-10-31 15:30), 1.4 (2020-11-07 07:20), 1.5 (2021-05-16 16:00), 1.6 (2021-10-11 11:10), 1.7 (2022-02-20 04:20), 1.8 (2023-09-08 17:30), 1.9 (2023-09-28 21:30), 1.10 (2024-10-01 00:00), 1.11 (2024-10-08 04:20)
Other packages that cited swdpwr R package
View swdpwr citation profile
Other R packages that swdpwr depends, imports, suggests or enhances
Complete documentation for swdpwr
Functions, R codes and Examples using the swdpwr R package
Some associated functions: BinICC . ContICC . print.swdpower . swdpower . swdpwr-package . 
Some associated R codes: BinICC.R . ContICC.R . print.swdpower.R . swdpower.R .  Full swdpwr package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

NPHazardRate  
Nonparametric Hazard Rate Estimation
Provides functions and examples for histogram, kernel (classical, variable bandwidth and transformat ...
Download / Learn more Package Citations See dependency  
msamp  
Estimate Sample Size to Detect Bacterial Contamination in a Product Lot
Estimates the sample size needed to detect microbial contamination in a lot with a user-specified d ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
ncdf4  
Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or ...
Download / Learn more Package Citations See dependency  
cats  
Cohort Platform Trial Simulation
Cohort plAtform Trial Simulation whereby every cohort consists of two arms, control and experimenta ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA