Package: BayesianTrial
Title: Bayesian Decision-Making for Clinical Trials
Version: 0.1.0
Authors@R: c(
    person(given = "Jiangyan", family = "Zhao", email = "zhaojy2017@126.com", role = c("cre", "aut")),
    person(given = "Rongji", family = "Mu", email = "rjmu@sjtu.edu.cn", role = c("aut", "cph"))
  )
Maintainer: Jiangyan Zhao <zhaojy2017@126.com>
Description: Provides tools for Bayesian decision-making in single-arm
 phase II clinical trials with binary efficacy endpoints. Uses
 Beta-binomial models to calculate posterior probabilities that the
 response rate exceeds a prespecified reference value and to estimate
 predictive probabilities of meeting final-analysis success criteria.
 Evaluates the frequentist operating characteristics of two-stage
 designs with posterior-probability-based stopping rules, including
 type I error rates, statistical power, and probabilities of early
 stopping for efficacy or futility, using Monte Carlo simulation.
 For methodological background, see Thall and Simon (1994)
 <doi:10.2307/2533377> and Lee and Liu (2008)
 <doi:10.1177/1740774508089279>.
License: GPL (>= 3)
URL: https://github.com/Jiangyan-Zhao/BayesianTrial
BugReports: https://github.com/Jiangyan-Zhao/BayesianTrial/issues
Encoding: UTF-8
NeedsCompilation: no
Depends: R (>= 3.5.0)
Imports: stats
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
VignetteBuilder: knitr, rmarkdown
Config/roxygen2/version: 8.1.0
Config/testthat/edition: 3
Packaged: 2026-11-01 14:01:28 UTC; JYZHAO
Author: Jiangyan Zhao [cre, aut],
  Rongji Mu [aut, cph]
Repository: CRAN
Date/Publication: 2026-11-19 11:30:24 UTC
