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.4
Depends: R (≥ 4.0.0)
Imports: stats, VGAM, dplyr, parallel, utils, ggplot2, patchwork, rlang
Suggests: knitr, rmarkdown, kableExtra, testthat (≥ 3.0.0), purrr, tidyr
Published: 2026-06-23
DOI: 10.32614/CRAN.package.bfbin2arm
Author: Riko Kelter [aut, cre]
Maintainer: Riko Kelter <rkelter at uni-koeln.de>
License: GPL-3
URL: https://rikokelter.github.io/bfbin2arm/, https://github.com/rikokelter/bfbin2arm, https://arxiv.org/abs/2511.23144, https://arxiv.org/abs/2603.01715, https://arxiv.org/abs/2502.02914, https://arxiv.org/abs/2606.02410, https://rikokelter.github.io/bfbin2arm/
NeedsCompilation: no
CRAN checks: bfbin2arm results

Documentation:

Reference manual: bfbin2arm.html , bfbin2arm.pdf
Vignettes: Clinical trial designs in bfbin2arm (source, R code)
Frequentist and hybrid calibration of one-stage ROPE-based designs for single-arm phase II trials (source, R code)
ROPE-based trial design for single-arm one-stage phase II trials with binary endpoints (source, R code)
Calibration of Bayesian one-stage designs for single-arm phase II trials with binary endpoints (source, R code)
Optimal Bayesian calibration for single-arm two-stage Bayes factor designs (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.4.tar.gz
Windows binaries: r-devel: bfbin2arm_0.1.4.zip, r-release: bfbin2arm_0.1.4.zip, r-oldrel: bfbin2arm_0.1.4.zip
macOS binaries: r-release (arm64): bfbin2arm_0.1.4.tgz, r-oldrel (arm64): bfbin2arm_0.1.4.tgz, r-release (x86_64): bfbin2arm_0.1.4.tgz, r-oldrel (x86_64): bfbin2arm_0.1.4.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.