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

731

Last 30 days

4816th

731

Last 90 days

731

Last year

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 (17 non-OK)
OK 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

*


            
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
OK 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

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 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 9, 2026