trialr

Clinical Trial Designs in 'rstan'

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 451 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 9 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
17 downloadsMar 4, 2025
40 downloadsMar 5, 2025
10 downloadsMar 6, 2025
8 downloadsMar 7, 2025
8 downloadsMar 8, 2025
2 downloadsMar 9, 2025
20 downloadsMar 10, 2025
14 downloadsMar 11, 2025
5 downloadsMar 12, 2025
16 downloadsMar 13, 2025
5 downloadsMar 14, 2025
41 downloadsMar 15, 2025
7 downloadsMar 16, 2025
19 downloadsMar 17, 2025
19 downloadsMar 18, 2025
19 downloadsMar 19, 2025
16 downloadsMar 20, 2025
13 downloadsMar 21, 2025
27 downloadsMar 22, 2025
13 downloadsMar 23, 2025
11 downloadsMar 24, 2025
11 downloadsMar 25, 2025
7 downloadsMar 26, 2025
13 downloadsMar 27, 2025
45 downloadsMar 28, 2025
4 downloadsMar 29, 2025
5 downloadsMar 30, 2025
13 downloadsMar 31, 2025
14 downloadsApr 1, 2025
9 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
2
45

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 5,256 times in the last 365 days. That's a lot of interest! Someone might even write a blog post about it. The day with the most downloads was Feb 20, 2025 with 65 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Imports14 packages
  • Suggests6 packages
  • Linking To6 packages
  • Reverse Imports3 packages