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: 2026-09-20 11:45:26 UTC; root Author: Zhongheng Cai [aut, cre], Haitao Pan [aut] Maintainer: Zhongheng Cai Depends: R (>= 3.5.0) Repository: https://zhongheng-biostatistics.r-universe.dev Date/Publication: 2025-05-09 10:40:06 UTC RemoteUrl: https://github.com/cran/DTEBOP2 RemoteRef: HEAD RemoteSha: 82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e