Implements causal inference methods for incorporating external control data into randomized controlled trials (RCTs) with longitudinal outcomes. Provides an analysis module supporting weighting-based methods such as inverse probability weighting (IPW) and augmented inverse probability weighting (AIPW), difference-in-differences (DID), and synthetic control approaches for borrowing external control information, as well as a simulation module for generating trial and external control data, evaluating estimator performance via Monte Carlo studies, and conducting power analyses for sample size determination. Methods are based on Zhou et al. (2024) <doi:10.1093/biostatistics/kxae012> and Zhou et al. (2024) <doi:10.1080/01621459.2024.2395586>.
| Version: | 0.0.4.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | checkmate, futile.logger, mvtnorm, dplyr, tidyr, boot, Matrix, CVXR, copula, future.apply, progress, stats, utils, methods |
| Suggests: | covr, ECOSolveR, knitr, pkgdown, rmarkdown, lintr, spelling, styler, testthat (≥ 3.0.0) |
| Published: | 2026-08-31 |
| DOI: | 10.32614/CRAN.package.rdborrow (may not be active yet) |
| Author: | Lei Shi [aut],
Matt Secrest |
| Maintainer: | Matt Secrest <secrmatt at gmail.com> |
| BugReports: | https://github.com/Genentech/rdborrow/issues |
| License: | Apache License (≥ 2) |
| URL: | https://genentech.github.io/rdborrow/, https://github.com/Genentech/rdborrow |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | rdborrow results |
| Reference manual: | rdborrow.html , rdborrow.pdf |
| Vignettes: |
OLE Analysis Workflow (source, R code) Simulation Workflow for OLE Phase (source, R code) Introduction to rdborrow (source, R code) Primary Analysis Workflow (source, R code) Simulation Workflow for Primary Analysis (source, R code) |
| Package source: | rdborrow_0.0.4.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): rdborrow_0.0.4.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=rdborrow to link to this page.