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 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) and Lee and Liu (2008) . 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-19 13:38:35 UTC; root Author: Jiangyan Zhao [cre, aut], Rongji Mu [aut, cph] Repository: https://cran.r-universe.dev Date/Publication: 2026-11-19 11:30:24 UTC RemoteUrl: https://github.com/cran/BayesianTrial RemoteRef: HEAD RemoteSha: 9d3cc2f95e38a93cb02d4be11173a8e7080897a7