Package: trtswitch 0.1.4
trtswitch: Treatment Switching
Implements rank-preserving structural failure time model (RPSFTM), iterative parameter estimation (IPE), inverse probability of censoring weights (IPCW), and two-stage estimation (TSE) methods for treatment switching in randomized clinical trials.
Authors:
trtswitch_0.1.4.tar.gz
trtswitch_0.1.4.tar.gz(r-4.5-noble)trtswitch_0.1.4.tar.gz(r-4.4-noble)
trtswitch_0.1.4.tgz(r-4.4-emscripten)trtswitch_0.1.4.tgz(r-4.3-emscripten)
trtswitch.pdf |trtswitch.html✨
trtswitch/json (API)
NEWS
# Install 'trtswitch' in R: |
install.packages('trtswitch', repos = 'https://cloud.r-project.org') |
- aml - Acute myelogenous leukemia survival data from the survival package
- heart - Stanford heart transplant data from the survival package
- immdef - Simulated CONCORDE trial data from the rpsftm package
- ingots - The binary data from Cox and Snell (1989, pp. 10-11).
- rawdata - A simulated time-to-event data set with 10 replications
- sexagg - Urinary tract infection data from the logistf package
- shilong - The randomized clinical trial SHIVA data in long format from the ipcwswitch package
- six - The repeated measures data from the "Six Cities" study of the health effects of air pollution (Ware et al. 1984).
- tobin - Tobin's tobit data from the survival package
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 14 days agofrom:04da1999bc. Checks:3 OK. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 20 2025 |
R-4.5-linux-x86_64 | OK | Mar 20 2025 |
R-4.4-linux-x86_64 | OK | Mar 20 2025 |
Exports:bscppfindInterval3ipcwipekmdiffkmestliferegrlogisregrlrtestnscppphregrqrcppresiduals_phregrrmdiffrmestrpsftmsplineDesigncppsurvfit_phregrsurvsplittsegesttsegestsimtsesimp
Dependencies:Rcpp
Inverse Probability of Censoring Weights
Rendered fromipcw.Rmd
usingknitr::rmarkdown
on Mar 20 2025.Last update: 2024-12-05
Started: 2024-11-02
Iterative Parameter Estimation
Rendered fromipe.Rmd
usingknitr::rmarkdown
on Mar 20 2025.Last update: 2024-12-05
Started: 2024-11-02
Rank Preserving Structural Failure Time Models
Rendered fromrpsftm.Rmd
usingknitr::rmarkdown
on Mar 20 2025.Last update: 2024-12-05
Started: 2024-11-02
Simple Two-Stage Estimation
Rendered fromtsesimp.Rmd
usingknitr::rmarkdown
on Mar 20 2025.Last update: 2024-11-02
Started: 2024-11-02
Two-Stage Estimation With g-estimation
Rendered fromtsegest.Rmd
usingknitr::rmarkdown
on Mar 20 2025.Last update: 2025-03-20
Started: 2024-11-02
Citation
To cite package ‘trtswitch’ in publications use:
Lu K (2025). trtswitch: Treatment Switching. R package version 0.1.4, https://CRAN.R-project.org/package=trtswitch.
Corresponding BibTeX entry:
@Manual{, title = {trtswitch: Treatment Switching}, author = {Kaifeng Lu}, year = {2025}, note = {R package version 0.1.4}, url = {https://CRAN.R-project.org/package=trtswitch}, }