Package: bfbin2arm Type: Package Title: Bayes Factor Design for Two-Arm Binomial Trials Version: 0.1.7 Date: 2026-10-27 Authors@R: c(person(given = "Riko", family = "Kelter", role = c("aut", "cre"), email = "rkelter@uni-koeln.de")) Description: Design and analysis of one- and two-stage phase II 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. 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, License: GPL-3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 VignetteBuilder: knitr 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 Repository: https://rikokelter.r-universe.dev Date/Publication: 2026-10-28 12:08:29 UTC RemoteUrl: https://github.com/rikokelter/bfbin2arm RemoteRef: HEAD RemoteSha: e18c77d297182ea401a5312cd4dd71cb96e8aa22 NeedsCompilation: no Packaged: 2026-10-28 14:12:03 UTC; root Author: Riko Kelter [aut, cre] Maintainer: Riko Kelter