Skip to content

trialr

Clinical Trial Designs in 'rstan'

v0.1.6 · Mar 12, 2023 · GPL (>= 3)

Description

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.

Downloads

536

Last 30 days

7505th

1.8K

Last 90 days

7.5K

Last year

Trend: -28.1% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 135.3Mb
  sub-directories of 1Mb or more:
    doc     3.9Mb
    libs  130.3Mb
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 127.1Mb
  sub-directories of 1Mb or more:
    doc     3.9Mb
    libs  122.2Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 12.0Mb
  sub-directories of 1Mb or more:
    doc    3.9Mb
    libs   7.0Mb

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 135.3Mb
  sub-directories of 1Mb or more:
    doc     3.9Mb
    libs  130.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 127.1Mb
  sub-directories of 1Mb or more:
    doc     3.9Mb
    libs  122.2Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 12.0Mb
  sub-directories of 1Mb or more:
    doc    3.9Mb
    libs   7.0Mb

Reverse Dependencies (6)

Dependency Network

Dependencies Reverse dependencies Rcpp rstan rstantools rlang dplyr purrr magrittr stringr ggplot2 gtools coda tidybayes tibble binom MASS VisCov brms.mmrm escalation historicalborrowlong networkscaleup phase12designs trialr

Version History

new 0.1.6 Mar 10, 2026
updated 0.1.6 ← 0.1.5 diff Mar 11, 2023
updated 0.1.5 ← 0.1.4 diff Oct 15, 2020
updated 0.1.4 ← 0.1.3 diff Apr 5, 2020
updated 0.1.3 ← 0.1.2 diff Jan 7, 2020
updated 0.1.2 ← 0.1.1 diff Jun 24, 2019
updated 0.1.1 ← 0.1.0 diff May 24, 2019
updated 0.1.0 ← 0.0.7 diff Apr 20, 2019
updated 0.0.7 ← 0.0.6 diff Mar 2, 2019
updated 0.0.6 ← 0.0.5 diff Jan 16, 2019
updated 0.0.5 ← 0.0.4 diff Nov 11, 2018
updated 0.0.4 ← 0.0.3 diff Oct 23, 2018
updated 0.0.3 ← 0.0.2 diff Aug 8, 2018
updated 0.0.2 ← 0.0.1 diff Aug 7, 2018
new 0.0.1 Nov 20, 2017