Analyze Data from Stepped Wedge Cluster Randomized Trials

Provide various functions and tools to help fit models for estimating treatment effects in stepped wedge cluster randomized trials. Implements methods described in Kenny, Voldal, Xia, and Heagerty (2022) "Analysis of stepped wedge cluster randomized trials in the presence of a time-varying treatment effect", .


GitHub R package version CRAN status GitHub R-CMD-check Codecov test coverage

steppedwedge

An R package for analyzing data from stepped wedge cluster randomized trials

Overview

steppedwedge is an open-source R package designed for analyzing data from stepped wedge cluster randomized trials. Functions are given for checking/visualizing datasets and estimating various treatment effect parameters, including the immediate treatment effect (ITE), exposure time averaged treatment effect (ETATE), calendar time averaged treatment effect (CTATE).

Installation

The latest stable version of steppedwedge can be installed from CRAN using install.packages():

install.packages("steppedwedge")

The current development version can be installed using devtools::install_github():

devtools::install_github(repo="Avi-Kenny/steppedwedge")

Documentation

The full package documentation can be found at https://avi-kenny.github.io/steppedwedge/.

Bugs reports and feature requests

To submit a bug report or request a new feature, please submit a new GitHub Issue.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("steppedwedge")

1.0.0 by Avi Kenny, 2 years ago


https://avi-kenny.github.io/steppedwedge/, https://github.com/Avi-Kenny/steppedwedge


Report a bug at https://github.com/Avi-Kenny/steppedwedge/issues


Browse source code at https://github.com/cran/steppedwedge


Authors: Avi Kenny [aut, cre, cph] , David Arthur [aut] , Yongdong Ouyang [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports dplyr, stats, forcats, stringr, magrittr, methods, ggplot2, lme4, geepack, performance

Suggests knitr, rmarkdown, testthat


See at CRAN