The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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.

Version: 0.1.2
Depends: R (≥ 2.10)
Imports: Rcpp (≥ 1.0.9)
LinkingTo: Rcpp
Suggests: testthat (≥ 3.0.0), dplyr (≥ 1.1.4), geepack (≥ 1.3.12), ggplot2 (≥ 3.3.6), knitr (≥ 1.45), rmarkdown (≥ 2.25), survival (≥ 3.5-8)
Published: 2024-12-05
DOI: 10.32614/CRAN.package.trtswitch
Author: Kaifeng Lu ORCID iD [aut, cre]
Maintainer: Kaifeng Lu <kaifenglu at gmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: NEWS
CRAN checks: trtswitch results

Documentation:

Reference manual: trtswitch.pdf
Vignettes: Inverse Probability of Censoring Weights (source, R code)
Iterative Parameter Estimation (source, R code)
Rank Preserving Structural Failure Time Models (source, R code)
Two-Stage Estimation With g-estimation (source, R code)
Simple Two-Stage Estimation (source, R code)

Downloads:

Package source: trtswitch_0.1.2.tar.gz
Windows binaries: r-devel: trtswitch_0.1.2.zip, r-release: trtswitch_0.1.2.zip, r-oldrel: trtswitch_0.1.2.zip
macOS binaries: r-release (arm64): trtswitch_0.1.2.tgz, r-oldrel (arm64): trtswitch_0.1.2.tgz, r-release (x86_64): trtswitch_0.1.2.tgz, r-oldrel (x86_64): trtswitch_0.1.2.tgz
Old sources: trtswitch archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=trtswitch to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.