Implements rank preserving structural failure time model (RPSFTM), iterative parameter estimation (IPE), inverse probability of censoring weights (IPCW), marginal structural model (MSM), simple two-stage estimation (TSEsimp), and improved two-stage estimation with g-estimation (TSEgest) methods for treatment switching in randomized clinical trials.
| Version: | 0.2.2 |
| Depends: | R (≥ 2.10) |
| Imports: | Rcpp (≥ 1.0.9),rlang (≥ 1.0.6),data.table (≥ 1.14.10),ggplot2 (≥ 3.3.6),cowplot (≥ 1.2.0) |
| LinkingTo: | Rcpp |
| Suggests: | testthat (≥ 3.0.0),dplyr (≥ 1.1.4),tidyr (≥ 1.3.1),survival (≥ 3.5-7),knitr (≥ 1.45),rmarkdown (≥ 2.25) |
| Published: | 2025-11-16 |
| DOI: | 10.32614/CRAN.package.trtswitch |
| Author: | Kaifeng Lu |
| Maintainer: | Kaifeng Lu <kaifenglu at gmail.com> |
| BugReports: | https://github.com/kaifenglu/trtswitch/issues |
| License: | GPL-2 |GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/kaifenglu/trtswitch |
| NeedsCompilation: | yes |
| Materials: | NEWS |
| CRAN checks: | trtswitch results |
| Package source: | trtswitch_0.2.2.tar.gz |
| Windows binaries: | r-devel:trtswitch_0.2.2.zip, r-release:trtswitch_0.2.2.zip, r-oldrel:trtswitch_0.2.2.zip |
| macOS binaries: | r-release (arm64):trtswitch_0.2.2.tgz, r-oldrel (arm64):trtswitch_0.2.2.tgz, r-release (x86_64):trtswitch_0.2.2.tgz, r-oldrel (x86_64):trtswitch_0.2.2.tgz |
| Old sources: | trtswitch archive |
Please use the canonical formhttps://CRAN.R-project.org/package=trtswitchto link to this page.