An implementation of Bayesian single-arm phase II design methods for binary outcome based on posterior probability and predictive probability.
CRAN task view: ExperimentalDesign
Get the released version from CRAN:
install.packages("ph2bayes")
Or the development version from github:
# install.packages("devtools")
devtools::install_github("nshi-stat/ph2bayes")