The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

bfbin2arm: Bayes Factor Design for Two-Arm Binomial Trials

Design and analysis of one- and two-stage binomial clinical phase II trials using Bayes factors. Implements Bayes factors for point-null and directional hypotheses, predictive densities under different hypotheses, and power and sample size calibration. Both one-arm trials with only a single treatment arm and two-arm trials with treatment and control arm are implemented for the one- and two-stage designs.

Version: 0.1.3
Depends: R (≥ 4.0.0)
Imports: stats, VGAM, dplyr, parallel, utils, ggplot2, patchwork, rlang
Suggests: knitr, rmarkdown, kableExtra, testthat (≥ 3.0.0)
Published: 2026-06-01
DOI: 10.32614/CRAN.package.bfbin2arm
Author: Riko Kelter [aut, cre]
Maintainer: Riko Kelter <rkelter at uni-koeln.de>
License: GPL-3
URL: https://arxiv.org/abs/2511.23144, https://arxiv.org/abs/2603.01715, https://arxiv.org/abs/2502.02914
NeedsCompilation: no
CRAN checks: bfbin2arm results

Documentation:

Reference manual: bfbin2arm.html , bfbin2arm.pdf
Vignettes: Bayes-factor-based designs in bfbin2arm (source)
Calibration of Bayesian one-stage designs for single-arm phase II trials with binary endpoints (source, R code)
Optimal two-stage single-arm Bayes factor designs for phase II trials (source, R code)
Optimal frequentist calibration for single-arm two-stage Bayes factor designs with binary endpoints (source, R code)
Optimal full calibration for single-arm two-stage Bayes factor designs with binary endpoints (source, R code)
Optimal hybrid calibration for single-arm two-stage Bayes factor designs with binary endpoints (source, R code)
Optimal Bayesian calibration of two-arm two-stage Bayes factor designs with binary endpoints (source, R code)
Bayesian calibration of two-arm one-stage Bayes factor designs with binary endpoints (source, R code)

Downloads:

Package source: bfbin2arm_0.1.3.tar.gz
Windows binaries: r-devel: bfbin2arm_0.1.3.zip, r-release: bfbin2arm_0.1.3.zip, r-oldrel: bfbin2arm_0.1.3.zip
macOS binaries: r-release (arm64): bfbin2arm_0.1.3.tgz, r-oldrel (arm64): bfbin2arm_0.1.3.tgz, r-release (x86_64): bfbin2arm_0.1.3.tgz, r-oldrel (x86_64): bfbin2arm_0.1.3.tgz
Old sources: bfbin2arm archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=bfbin2arm to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.