Other packages > Find by keyword >

trtswitch  

Treatment Switching
View on CRAN: Click here


Download and install trtswitch package within the R console
Install from CRAN:
install.packages("trtswitch")

Install from Github:
library("remotes")
install_github("cran/trtswitch")

Install by package version:
library("remotes")
install_version("trtswitch", "0.2.3")



Attach the package and use:
library("trtswitch")
Maintained by
Kaifeng Lu
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-10-17
Latest Update: 2025-07-12
Description:
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.
How to cite:
Kaifeng Lu (2024). trtswitch: Treatment Switching. R package version 0.2.3, https://cran.r-project.org/web/packages/trtswitch. Accessed 06 Jun. 2026.
Previous versions and publish date:
0.1.0 (2024-10-17 12:10), 0.1.1 (2024-11-02 01:30), 0.1.2 (2024-12-05 18:40), 0.1.3 (2025-02-06 20:10), 0.1.4 (2025-03-20 05:10), 0.1.5 (2025-04-24 04:30), 0.1.6 (2025-04-25 10:50), 0.1.7 (2025-06-05 23:50), 0.1.8 (2025-07-12 19:00), 0.1.9 (2025-09-03 23:00), 0.2.0 (2025-10-06 09:20), 0.2.1 (2025-11-06 15:50), 0.2.2 (2025-11-16 15:00), 0.2.3 (2026-01-10 15:40), 0.2.4 (2026-02-12 22:20), 0.2.5 (2026-03-13 22:10)
Other packages that cited trtswitch R package
View trtswitch citation profile
Other R packages that trtswitch depends, imports, suggests or enhances
Complete documentation for trtswitch
Functions, R codes and Examples using the trtswitch R package
Full trtswitch package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

BALLI  
Expression RNA-Seq Data Analysis Based on Linear Mixed Model
Analysis of gene expression RNA-seq data using Bartlett-Adjusted Likelihood-based LInear model (BALL ...
Download / Learn more Package Citations See dependency  
rwavelet  
Wavelet Analysis
Perform wavelet analysis (orthogonal,translation invariant, tensorial, 1-2-3d transforms, thresholdi ...
Download / Learn more Package Citations See dependency  
IAPWS95  
Thermophysical Properties of Water and Steam
An implementation of the International Association for the Properties of Water (IAPWS) Formulation ...
Download / Learn more Package Citations See dependency  
worrrd  
Generate Wordsearch and Crossword Puzzles
Generate wordsearch and crossword puzzles using custom lists of words (and clues).Make them easy or ...
Download / Learn more Package Citations See dependency  
odbc  
Connect to ODBC Compatible Databases (using the DBI Interface)
A DBI-compatible interface to ODBC databases. ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA