Package: BayesianHybridDesign
Title: Bayesian Hybrid Design and Analysis
Version: 0.1.0
Authors@R: 
    c(
      person("Philip", "He", email = "philipyihe2018@gmail.com", role = c("aut", "cph")),
      person("Zhaohua", "Lu", email = "zhaohua.lu@gmail.com", role = c("aut", "cre", "cph"))
    )
Description: Implements Bayesian hybrid designs that incorporate historical
    control data into a current clinical trial. The package uses a dynamic
    power prior method to determine the degree of borrowing from the historical
    data, creating a 'hybrid' control arm. This approach is primarily
    designed for studies with a binary primary endpoint, such as the overall
    response rate (ORR). Functions are provided for design calibration,
    sample size calculation, power evaluation, and final analysis. 
    Additionally, it includes functions adapted from the 'SAMprior' package 
    (v1.1.1) by Yang et al. (2023) <https://academic.oup.com/biometrics/article/79/4/2857/7587575> to support the 
    Self-Adapting Mixture (SAM) prior framework for comparison.
License: GPL-3
Encoding: UTF-8
RoxygenNote: 7.3.1
Depends: R (>= 4.1)
Imports: assertthat, checkmate, doParallel, foreach, ggplot2, Metrics,
        parallel, RBesT
Suggests: broom, knitr, purrr, rmarkdown, rstanarm, scales, testthat
        (>= 3.0.0), tidyr, tools
NeedsCompilation: no
Packaged: 2026-02-04 03:18:27 UTC; zhaoh
Author: Philip He [aut, cph],
  Zhaohua Lu [aut, cre, cph]
Maintainer: Zhaohua Lu <zhaohua.lu@gmail.com>
Repository: CRAN
Date/Publication: 2026-02-06 20:00:24 UTC
Built: R 4.4.3; ; 2026-02-25 05:48:23 UTC; windows
