trialr
0.1.6Clinical Trial Designs in 'rstan'
Overview
A collection of clinical trial designs and methods, implemented in 'rstan' and R, including: the Continual Reassessment Method by O'Quigley et al. (1990) doi:10.2307/2531628; EffTox by Thall & Cook (2004) doi:10.1111/j.0006-341X.2004.00218.x; the two-parameter logistic method of Neuenschwander, Branson & Sponer (2008) doi:10.1002/sim.3230; and the Augmented Binary method by Wason & Seaman (2013) doi:10.1002/sim.5867; and more. We provide functions to aid model-fitting and analysis. The 'rstan' implementations may also serve as a cookbook to anyone looking to extend or embellish these models. We hope that this package encourages the use of Bayesian methods in clinical trials. There is a preponderance of early phase trial designs because this is where Bayesian methods are used most. If there is a method you would like implemented, please get in touch.
Install
Health
- OK2026-08-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-2913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-07-2712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
- 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
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 49%
- Documented parameters
- 100%
- Return-value docs
- 87%
- References docs
- 29%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/brockk/trialr on 2026-08-23.
Show all practices
Dependencies
Code & Tests
People & History
14 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
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.1.6Latest
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.52020-10-16 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.1.42020-04-06 · diff ↗
- 0.1.32020-01-08 · diff ↗
- 0.1.22019-06-25 · diff ↗
- 0.1.12019-05-25 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.1.02019-04-21 · diff ↗
- 0.0.72019-03-03 · diff ↗
Package metadata
- First published
- 2017-11-21
- Total releases
- 14 / 9 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 2.6 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("trialr")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.