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")
install.packages("ph2bayes", repos = c('https://nshi-stat.r-universe.dev', 'https://cloud.r-project.org'))