SkillAgentSearch skills...

SWSamp

SWSamp is a general purpose package to provide a suite of functions for the sample size calculations and power analysis in a Stepped Wedge Trial. Contains functions for closed-form sample size calculation (based on a set of specific models) and simulation-based procedures that can extend the basic framework.

Install / Use

/learn @giabaio/SWSamp
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SWSamp

SWSamp is a general purpose package to provide a suite of functions for the sample size calculations and power analysis in a Stepped Wedge Trial. Contains functions for closed-form sample size calculation (based on a set of specific models) and simulation-based procedures that can extend the basic framework. A detailed tutorial is available here, while general instructions and references are available here and here.

Installation

SWSamp can be installed running the following code in your R terminal.

install.packages(
   "SWSamp", 
   repos = c(
      "https://giabaio.r-universe.dev", 
      "https://cloud.r-project.org",
      "https://inla.r-inla-download.org/R/stable"
   )
)

As every other package stored in GitHub, you could use remotes, but we recommend using the r-universe installation, as it is easier to maintain.

View on GitHub
GitHub Stars6
CategoryProduct
Updated4mo ago
Forks3

Languages

R

Security Score

82/100

Audited on Nov 26, 2025

No findings