Skip to content

bhmbasket

1.1.0

Bayesian Hierarchical Models for Basket Trials

1packages depend
5.1Kdownloads / year
93.7%test coverage
13/13checks pass

Overview

About
Maintained by Stephan WojciekowskiFirst published 2021-02-157 releasesCRAN page ↗GitHub ↗

Provides functions for the evaluation of basket trial designs with binary endpoints. Operating characteristics of a basket trial design are assessed by simulating trial data according to scenarios, analyzing the data with Bayesian hierarchical models (BHMs), and assessing decision probabilities on stratum and trial-level based on Go / No-go decision making. The package is build for high flexibility regarding decision rules, number of interim analyses, number of strata, and recruitment. The BHMs proposed by Berry et al. (2013) doi:10.1177/1740774513497539 and Neuenschwander et al. (2016) doi:10.1002/pst.1730, as well as a model that combines both approaches are implemented. Functions are provided to implement Bayesian decision rules as for example proposed by Fisch et al. (2015) doi:10.1177/2168479014533970. In addition, posterior point estimates (mean/median) and credible intervals for response rates and some model parameters can be calculated. For simulated trial data, bias and mean squared errors of posterior point estimates for response rates can be provided.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.18
93.7%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 42 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
100%
References docs
28%

Downloads

5.1K
CRAN downloads in the past year
Rank #5,586 · ~14/day · ~425/mo
Daily download trend is not available in this view yet.
36530 days
1.6K90 days
5.1K1 year
Compare downloads with other packages →
Also on156 r2u20 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
2Releases
166Commits
2Contributors
166 commits · Last activity 2026-07-12 · 0% stars, 30d

Stars over time

2026-01-21 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/boehringer-ingelheim/bhmbasket on 2026-07-30.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
2indirect

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 1.0.0
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    2026-04-15 · current release · diff ↗
  • 1.0.0
    2026-02-21 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9.5
    2022-02-14 · diff ↗
  • 0.9.4
    2022-01-18 · diff ↗
  • 0.9.3
    2021-10-11 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.2
    2021-04-07 · diff ↗
  • 0.9.1
    2021-02-15
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-02-15
Total releases
7 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 3.6.0
Download size
651 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →