Package: trtswitch 0.2.8
trtswitch: Treatment Switching
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.
Authors:
trtswitch_0.2.8.tar.gz
trtswitch_0.2.8.zip(r-4.7-x86_64)trtswitch_0.2.8.zip(r-4.7-arm64)trtswitch_0.2.8.zip(r-4.6-x86_64)trtswitch_0.2.8.zip(r-4.6-arm64)trtswitch_0.2.8.zip(r-4.5-x86_64)
trtswitch_0.2.8.tgz(r-4.6-x86_64)trtswitch_0.2.8.tgz(r-4.6-arm64)trtswitch_0.2.8.tgz(r-4.5-x86_64)trtswitch_0.2.8.tgz(r-4.5-arm64)
trtswitch_0.2.8.tar.gz(r-4.7-arm64)trtswitch_0.2.8.tar.gz(r-4.7-x86_64)trtswitch_0.2.8.tar.gz(r-4.6-arm64)trtswitch_0.2.8.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
trtswitch/json (API)
| # Install 'trtswitch' in R: |
| install.packages('trtswitch', repos = c('https://kaifenglu.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kaifenglu/trtswitch/issues
Pkgdown/docs site:https://kaifenglu.github.io
- adsl - Baseline subject-level data
- adtdc - Longitudinal time-dependent covariate data
- 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).
- liver - The liver data used in SAS PROC PHREG documentation examples.
- 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
Last updated from:5397ddccdb. Checks:14 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 315 | ||
| linux-devel-x86_64 | OK | 335 | ||
| source / vignettes | OK | 532 | ||
| linux-release-arm64 | OK | 380 | ||
| linux-release-x86_64 | OK | 348 | ||
| macos-release-arm64 | OK | 260 | ||
| macos-release-x86_64 | OK | 405 | ||
| macos-oldrel-arm64 | OK | 190 | ||
| macos-oldrel-x86_64 | OK | 665 | ||
| windows-devel-arm64 | OK | 525 | ||
| windows-devel-x86_64 | OK | 340 | ||
| windows-release-arm64 | OK | 498 | ||
| windows-release-x86_64 | OK | 360 | ||
| windows-oldrel-x86_64 | OK | 368 | ||
| wasm-release | FAIL | 128 |
Exports:assess_phregripcwipekmdiffkmestliferegrlogisregrlrtestmsmphregrpreptdcrecensor_sim_rpsftmresiduals_liferegrresiduals_phregrrmdiffrmestrpsftmsurvfit_phregrsurvQuantilesurvsplittsegesttsegestsimtsesimptssimzph_phregr
Dependencies:BHclicowplotcpp11data.tablefarverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcppRcppParallelRcppThreadrlangS7scalesvctrsviridisLitewithr
Last update: 2026-09-18
Started: 2026-09-18
Last update: 2026-09-18
Started: 2026-09-18
Last update: 2026-09-18
Started: 2026-09-18
Last update: 2026-09-18
Started: 2026-09-18
Last update: 2026-09-18
Started: 2026-09-18
Last update: 2026-09-18
Started: 2026-09-18
