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.

Package details

AuthorKaifeng Lu [aut, cre] (ORCID: <https://orcid.org/0000-0002-6160-7119>)
MaintainerKaifeng Lu <kaifenglu@gmail.com>
LicenseGPL (>= 2)
Version0.1.7
URL https://github.com/kaifenglu/trtswitch
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("trtswitch")

Try the trtswitch package in your browser

Any scripts or data that you put into this service are public.

trtswitch documentation built on June 8, 2025, 1:45 p.m.