Bayesian Dynamic Borrowing with Flexible Baseline Hazard Function
Overview
Allows Bayesian borrowing from a historical dataset for time-to- event data. A flexible baseline hazard function is achieved via a piecewise exponential likelihood with time varying split points and smoothing prior on the historic baseline hazards. The method is described in Scott and Lewin (2026) doi:10.1093/biostatistics/kxag006, and a paper focused on the software is in Scott, Axillus, Lewin and Izmirlian (2026) doi:10.48550/arXiv.2408.04327.
Install
Health
- OK13 OK2026-10-20
- WARNING11 OK, 2 WARNING2026-07-18
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 16 (1 internal)
- Examples that run
- 54%7 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 5 never run
- Exported functions with examples
- 83%
- Documented parameters
- 100%
- Return-value docs
- 92%
- Help pages citing references
- 69%
- BayesFBHborrow PDF
Downloads
Dependencies
Code & Tests
People & History
Previously maintained by Darren Scott (0.0.2 to 2.0.2).
Pick two releases to compare their code metrics.
- 2.0.20Latest2026-10-19 · current release · diff ↗ ·
listed once in CRAN's queue
Seen in one reading of CRAN's incoming queue, at 2026-10-19 18:02 UTC, so it stayed less than the time between readings. - 2.0.192026-10-19 · diff ↗ ··
added 3 exports
trial_data, historical_data, MTE5 hours in CRAN's queue
Listed in CRAN's incoming queue from 2026-10-19 00:39 to 2026-10-19 05:32 UTC, in 2 readings. - 2.0.142026-07-17 · diff ↗
- 2.0.122026-07-17 · diff ↗
- 2.0.102026-06-25 · diff ↗
- 2.0.92026-06-20 · diff ↗ ·
removed 1 export
GibbsMHadded 8 exports
genBFBHBdat, xifinder, read_haz_mcmc_smpls, ci, kable, Combine, Surv, coefficients - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.0.22024-09-16 · diff ↗
- 2.0.1
- RR 4.4.0 released · 2024-04-24
- 1.0.12024-02-27 · diff ↗
- 0.0.22024-01-11
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-01-11
- Total releases
- 10 / 2 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 4.1
- Download size
- 9.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("BayesFBHborrow")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.