Package: trtswitch 0.1.0

Kaifeng Lu

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.0.tar.gz
trtswitch_0.1.0.tar.gz(r-4.5-noble)trtswitch_0.1.0.tar.gz(r-4.4-noble)
trtswitch_0.1.0.tgz(r-4.4-emscripten)trtswitch_0.1.0.tgz(r-4.3-emscripten)
trtswitch.pdf |trtswitch.html
trtswitch/json (API)
NEWS

# Install 'trtswitch' in R:
install.packages('trtswitch', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • 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.

1.00 score 20 exports 1 dependencies

Last updated 6 days agofrom:fadf2fa8e5. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 18 2024
R-4.5-linux-x86_64OKOct 18 2024

Exports:bscppfindInterval3ipcwipekmestliferegrlogisregrlrtestnscppphregrqrcppresiduals_phregrrmdiffrmestrpsftmsplineDesigncppsurvfit_phregrtsegesttsegestsimtsesimp

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
Treatment Switchingtrtswitch-package
Acute myelogenous leukemia survival data from the survival packageaml
B-Spline Basis for Polynomial Splinesbscpp
Stanford heart transplant data from the survival packageheart
Simulated CONCORDE trial data from the rpsftm packageimmdef
The binary data from Cox and Snell (1989, pp. 10-11).ingots
Inverse Probability of Censoring Weights (IPCW) Method for Treatment Switchingipcw
Iterative Parameter Estimation (IPE) for Treatment Switchingipe
Kaplan-Meier Estimates of Survival Curvekmest
Parametric Regression Models for Failure Time Dataliferegr
Logistic Regression Models for Binary Datalogisregr
Log-Rank Test of Survival Curve Differencelrtest
Natural Cubic Spline Basisnscpp
Proportional Hazards Regression Modelsphregr
QR Decomposition of a Matrixqrcpp
A simulated time-to-event data set with 10 replicationsrawdata
Residuals for Proportional Hazards Regression Modelsresiduals_phregr
Estimate of Restricted Mean Survival Time Differencermdiff
Estimate of Restricted Mean Survival Timermest
Rank Preserving Structural Failure Time Model (RPSFTM) for Treatment Switchingrpsftm
Urinary tract infection data from the logistf packagesexagg
The randomized clinical trial SHIVA data in long format from the ipcwswitch packageshilong
The repeated measures data from the "Six Cities" study of the health effects of air pollution (Ware et al. 1984).six
B-Spline Design MatrixsplineDesigncpp
Survival Curve for Proportional Hazards Regression Modelssurvfit_phregr
Tobin's tobit data from the survival packagetobin
The Two-Stage Estimation (TSE) Method Using g-estimation for Treatment Switchingtsegest
Simulate Survival Data for Two-Stage Estimation Method Using g-estimationtsegestsim
The Simple Two-Stage Estimation (TSE) Method for Treatment Switchingtsesimp