# Treatment Switching

## Documentation for package ‘trtswitch’ version 0.1.7

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

trtswitch-package | Treatment Switching
aml | Acute myelogenous leukemia survival data from the survival package
bscpp | B-Spline Basis for Polynomial Splines
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).
ipcw | Inverse Probability of Censoring Weights (IPCW) Method for Treatment Switching
ipe | Iterative Parameter Estimation (IPE) for Treatment Switching
kmdiff | Estimate of Milestone Survival Difference
kmest | Kaplan-Meier Estimates of Survival Curve
liferegr | Parametric Regression Models for Failure Time Data
logisregr | Logistic Regression Models for Binary Data
lrtest | Log-Rank Test of Survival Curve Difference
nscpp | Natural Cubic Spline Basis
phregr | Proportional Hazards Regression Models
qrcpp | QR Decomposition of a Matrix
rawdata | A simulated time-to-event data set with 10 replications
residuals_liferegr | Residuals for Parametric Regression Models for Failure Time Data
residuals_phregr | Residuals for Proportional Hazards Regression Models
rmdiff | Estimate of Restricted Mean Survival Time Difference
rmest | Estimate of Restricted Mean Survival Time
rpsftm | Rank Preserving Structural Failure Time Model (RPSFTM) for Treatment Switching
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).
splineDesigncpp | B-Spline Design Matrix
survfit_phregr | Survival Curve for Proportional Hazards Regression Models
survQuantile | Brookmeyer-Crowley Confidence Interval for Quantiles of Right-Censored Time-to-Event Data
tobin | Tobin's tobit data from the survival package
tsegest | The Two-Stage Estimation (TSE) Method Using g-estimation for Treatment Switching
tsegestsim | Simulate Survival Data for Two-Stage Estimation Method Using g-estimation
tsesimp | The Simple Two-Stage Estimation (TSE) Method for Treatment Switching
tssim | Simulate Data for Treatment Switching