historicalborrowlong
0.1.0Longitudinal Bayesian Historical Borrowing Models
Overview
Historical borrowing in clinical trials can improve precision and operating characteristics. This package supports a longitudinal hierarchical model to borrow historical control data from other studies to better characterize the control response of the current study. It also quantifies the amount of borrowing through longitudinal benchmark models (independent and pooled). The hierarchical model approach to historical borrowing is discussed by Viele et al. (2013) doi:10.1002/pst.1589.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2211 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1810 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 87%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/wlandau/historicalborrowlong on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 11 max
- Test cases
- 70 / 0.75 per code line
- System requirements
- 1 external
Test coverage
Line coverage
89%
Expression
84.5%
Tests / Examples
88.6% / 64% ex
Functions
72 16 exported
Complexity
2.1 avg / 11 max
Call network
72 nodes / 117 edges
Call graph
Open call graph →Lowest coverage
72 functions| Function | Cyclo | Coverage |
|---|---|---|
| hbl_convergence exp | 1 | 100% |
| hbl_data exp | 5 | 100% |
| hbl_ess exp | 1 | 100% |
| hbl_mcmc_hierarchical exp | 1 | 100% |
| hbl_mcmc_independent exp | 1 | 100% |
| hbl_mcmc_pool exp | 1 | 100% |
People & History
5 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.0Latest
- RR 4.4.0 released · 2024-04-24
- 0.0.82023-11-30 · diff ↗
- unarchivedReturned to CRAN2023-11-30
- archivedRemoved from CRAN2023-10-25requires archived package 'clustermq'
- 0.0.72023-09-11 · diff ↗
- 0.0.62023-06-08 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.0.52022-09-13
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-09-13
- Total releases
- 5 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 84 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet