Package: DTEBOP2
Title: Bayesian Optimal Phase II Randomized Clinical Trial Design with
        Delayed Outcomes
Version: 1.0.3
Authors@R: c(
      person("Zhongheng", "Cai", email = "zhonghengcai123@gmail.com", role = c("aut", "cre")),
      person("Haitao", "Pan", email = "Haitao.Pan@STJUDE.ORG", role = "aut")
    )
Description: Implements a Bayesian Optimal Phase II design (DTE-BOP2) for trials with delayed treatment effects, particularly relevant to immunotherapy studies where treatment benefits may emerge after a delay. The method builds upon the BOP2 framework and incorporates uncertainty in the delay timepoint through a truncated gamma prior, informed by expert knowledge or default settings. Supports two-arm trial designs with functionality for sample size determination, interim and final analyses, and comprehensive simulation under various delay and design scenarios. Ensures rigorous type I and II error control while improving trial efficiency and power when the delay effect is present. A manuscript describing the methodology is under development and will be formally referenced upon publication.
License: GPL-3
Encoding: UTF-8
RoxygenNote: 7.3.2
Imports: truncdist, doParallel, foreach, parallel, invgamma
Suggests: knitr, rmarkdown, survRM2adapt, ggplot2, reconstructKM,
        survival, survminer
LazyData: true
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2025-05-07 18:49:07 UTC; zcai13
Author: Zhongheng Cai [aut, cre],
  Haitao Pan [aut]
Maintainer: Zhongheng Cai <zhonghengcai123@gmail.com>
Depends: R (>= 3.5.0)
Repository: CRAN
Date/Publication: 2025-05-09 10:40:06 UTC
Built: R 4.6.0; ; 2026-04-26 03:25:54 UTC; unix
