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:Kaifeng Lu [aut, cre]

trtswitch_0.1.4.tar.gz
trtswitch_0.1.4.zip(r-4.5)trtswitch_0.1.4.zip(r-4.4)trtswitch_0.1.4.zip(r-4.3)
trtswitch_0.1.4.tgz(r-4.5-x86_64)trtswitch_0.1.4.tgz(r-4.5-arm64)trtswitch_0.1.4.tgz(r-4.4-x86_64)trtswitch_0.1.4.tgz(r-4.4-arm64)trtswitch_0.1.4.tgz(r-4.3-x86_64)trtswitch_0.1.4.tgz(r-4.3-arm64)
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 = c('https://kaifenglu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kaifenglu/trtswitch/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

2.82 score 11 scripts 285 downloads 17 exports 1 dependencies

Last updated 11 hours agofrom:8306049617. Checks:12 ERROR. Indexed: yes.

TargetResultLatest binary
Doc / VignettesFAILApr 03 2025
R-4.5-win-x86_64ERRORApr 03 2025
R-4.5-mac-x86_64ERRORApr 03 2025
R-4.5-mac-aarch64ERRORApr 03 2025
R-4.5-linux-x86_64ERRORApr 03 2025
R-4.4-win-x86_64ERRORApr 03 2025
R-4.4-mac-x86_64ERRORApr 03 2025
R-4.4-mac-aarch64ERRORApr 03 2025
R-4.4-linux-x86_64ERRORApr 03 2025
R-4.3-win-x86_64ERRORApr 03 2025
R-4.3-mac-x86_64ERRORApr 03 2025
R-4.3-mac-aarch64ERRORApr 03 2025

Exports:ipcwipeliferegrlogisregrmakepredictcall.bscppmakepredictcall.nscppphregrpredict.bscpppredict.nscppprint.liferegrprint.logisregrprint.phregrresiduals_phregrrpsftmsurvfit_phregrtsegesttsesimp

Dependencies:Rcpp