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 clinical trials using Bayes factors. Implements methods for binomial and continuous endpoints, including point-null and directional hypotheses, power calculations, and sample size calibration. Supports one-arm trials with a single treatment arm and two-arm trials with treatment and control arms. Includes methods for equivalence, non-inferiority, and superiority designs.

Version: 0.1.7
Depends: R (≥ 4.0.0)
Imports: stats, statmod, VGAM, dplyr, parallel, utils, ggplot2, patchwork, rlang, gridExtra
Suggests: knitr, rmarkdown, kableExtra, testthat (≥ 3.0.0), purrr, tidyr
Published: 2026-10-28
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://arxiv.org/abs/2511.23144, https://arxiv.org/abs/2603.01715, https://arxiv.org/abs/2502.02914, https://arxiv.org/abs/2606.02410
NeedsCompilation: no
CRAN checks: bfbin2arm results

Documentation:

Reference manual: bfbin2arm.html , bfbin2arm.pdf
Vignettes: Calibrated Bayesian One-Sample and Paired t-Tests for Continuous Endpoints in Clinical Trials (source, R code)
Clinical trial designs in bfbin2arm (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.7.tar.gz
Windows binaries: r-devel: bfbin2arm_0.1.6.zip, r-release: bfbin2arm_0.1.6.zip, r-oldrel: bfbin2arm_0.1.6.zip
macOS binaries: r-release (arm64): bfbin2arm_0.1.6.tgz, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): bfbin2arm_0.1.6.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.