Package: trtswitch
Type: Package
Title: Treatment Switching
Version: 0.2.0
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 with g-estimation (TSEgest) methods for treatment switching in randomized clinical trials.
License: GPL (>= 2)
Imports: Rcpp (>= 1.0.9), data.table (>= 1.14.10)
LinkingTo: Rcpp
Suggests: testthat (>= 3.0.0), dplyr (>= 1.1.4), tidyr (>= 1.3.1),
        survival (>= 3.5-7), ggplot2 (>= 3.3.6), knitr (>= 1.45),
        rmarkdown (>= 2.25)
VignetteBuilder: knitr
RoxygenNote: 7.3.2
Encoding: UTF-8
NeedsCompilation: yes
Depends: R (>= 2.10)
LazyData: true
URL: https://github.com/kaifenglu/trtswitch
BugReports: https://github.com/kaifenglu/trtswitch/issues
Config/testthat/edition: 3
Packaged: 2025-10-03 01:41:32 UTC; kaife
Author: Kaifeng Lu [aut, cre] (ORCID: <https://orcid.org/0000-0002-6160-7119>)
Maintainer: Kaifeng Lu <kaifenglu@gmail.com>
Repository: CRAN
Date/Publication: 2025-10-06 07:20:02 UTC
Built: R 4.6.0; x86_64-w64-mingw32; 2025-10-09 01:05:44 UTC; windows
Archs: x64
