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 26 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), 0.2.6 (2026-05-26 22:40)
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

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
infotheo  
Information-Theoretic Measures
Implements various measures of information theory based on several entropy estimators. ...
Download / Learn more Package Citations See dependency  
poptrend  
Estimate Smooth and Linear Trends from Population Count Survey Data
Functions to estimate and plot smooth or linear population trends, or population indices, from anim ...
Download / Learn more Package Citations See dependency  
PoisBinOrdNor  
Data Generation with Poisson, Binary, Ordinal and Normal Components
Generation of multiple count, binary, ordinal and normal variables simultaneously given the marginal ...
Download / Learn more Package Citations See dependency  
ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  
colormap  
Color Palettes using Colormaps Node Module
Allows to generate colors from palettes defined in the colormap module of 'Node.js'. (see ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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