Package: trtswitch Type: Package Title: Treatment Switching Version: 0.2.8 Authors@R: person("Kaifeng", "Lu", , "kaifenglu@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6160-7119")) Description: Implements rank preserving structural failure time model (RPSFTM), iterative parameter estimation (IPE), inverse probability of censoring weights (IPCW), marginal structural model (MSM), simple two-stage estimation (TSEsimp), and improved two-stage estimation with g-estimation (TSEgest) methods for treatment switching in randomized clinical trials. License: GPL (>= 2) Imports: Rcpp (>= 1.0.9), RcppParallel (>= 5.1.5), parallel (>= 3.5), rlang (>= 1.0.6), data.table (>= 1.14.10), ggplot2 (>= 3.3.6), cowplot (>= 1.2.0) LinkingTo: Rcpp, RcppParallel, RcppThread, BH Suggests: testthat (>= 3.0.0), dplyr (>= 1.1.4), tidyr (>= 1.3.1), survival (>= 3.5-7), knitr (>= 1.45), rmarkdown (>= 2.25), pkgdown (>= 2.2.0) VignetteBuilder: knitr Roxygen: list(markdown = TRUE) Encoding: UTF-8 NeedsCompilation: yes Depends: R (>= 3.5) SystemRequirements: C++17 LazyData: true URL: https://kaifenglu.github.io/trtswitch/, https://github.com/kaifenglu/trtswitch BugReports: https://github.com/kaifenglu/trtswitch/issues Config/testthat/edition: 3 Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: cmake Repository: https://kaifenglu.r-universe.dev Date/Publication: 2026-09-26 17:44:17 UTC RemoteUrl: https://github.com/kaifenglu/trtswitch RemoteRef: HEAD RemoteSha: 5397ddccdb0f64cb7a86ad08691f33289a911671 Packaged: 2026-09-26 20:26:00 UTC; root Author: Kaifeng Lu [aut, cre] (ORCID: ) Maintainer: Kaifeng Lu