Package: ccwr
Title: Clone-Censor-Weight Methods for Target Trial Emulation
Version: 0.0.2
Authors@R: c(
    person("Sang Ho", "Park", email = "shstat1729@gmail.com", role = c("aut", "cre")),
    person("Youngrok", "Lee", role = "aut"),
    person("Jihyeon", "Baek", role = "aut"),
    person("Hye Won", "Yang", role = "aut"),
    person("Donghoon", "Jeong", role = "aut")
    )
Description: Provides methods for clone-censor-weight analyses that emulate
    target trials with grace-period treatment strategies using observational
    time-to-event data. Tools clone participants across strategies, apply
    strategy-specific artificial censoring, and estimate inverse probability of
    censoring weights using pooled logistic or Cox models, fit weighted outcome
    models, and obtain subject-level bootstrap confidence intervals by
    repeating the complete analysis. The methods are described by Maringe et
    al. (2020) <doi:10.1093/ije/dyaa057> and Gaber et al. (2024)
    <doi:10.1002/cam4.70461>.
License: MIT + file LICENSE
Copyright: See inst/COPYRIGHTS
URL: https://github.com/CausalInferenceLab/ccwr
BugReports: https://github.com/CausalInferenceLab/ccwr/issues
Encoding: UTF-8
Depends: R (>= 4.4.0)
Imports: dplyr, readr, survival, tibble, rlang, glue
Suggests: knitr, rmarkdown, testthat (>= 3.2.0)
Config/testthat/edition: 3
RoxygenNote: 8.0.0
LazyData: true
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-08-20 23:02:09 UTC; sanghopark
Author: Sang Ho Park [aut, cre],
  Youngrok Lee [aut],
  Jihyeon Baek [aut],
  Hye Won Yang [aut],
  Donghoon Jeong [aut]
Maintainer: Sang Ho Park <shstat1729@gmail.com>
Repository: CRAN
Date/Publication: 2026-09-03 12:00:16 UTC
Built: R 4.5.2; ; 2026-09-03 12:56:53 UTC; unix
