Skip to content

BayesianPlatformDesignTimeTrend

Simulate and Analyse Bayesian Platform Trial with Time Trend

v1.2.3 · Dec 7, 2023 · MIT + file LICENSE

Description

Simulating the sequential multi-arm multi-stage or platform trial with Bayesian approach using the 'rstan' package, which provides the R interface for the Stan. This package supports fixed ratio and Bayesian adaptive randomization approaches for randomization. Additionally, it allows for the study of time trend problems in platform trials. There are demos available for a multi-arm multi-stage trial with two different null scenarios, as well as for Bayesian trial cutoff screening. The Bayesian adaptive randomisation approaches are described in: Trippa et al. (2012) <doi:10.1200/JCO.2011.39.8420> and Wathen et al. (2017) <doi:10.1177/1740774517692302>. The randomisation algorithm is described in: Zhao W <doi:10.1016/j.cct.2015.06.008>. The analysis methods of time trend effect in platform trial are described in: Saville et al. (2022) <doi:10.1177/17407745221112013> and Bofill Roig et al. (2022) <doi:10.1186/s12874-022-01683-w>.

Downloads

386

Last 30 days

10555th

1.1K

Last 90 days

3.6K

Last year

Trend: +31.3% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 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-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 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 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘ggpubr’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 87.7Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.8Mb
    libs  83.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 89.1Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.8Mb
    libs  84.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.9Mb
    libs   3.2Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/BayesianPlatformDesignTimeTrend.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 87.7Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.8Mb
    libs  83.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 89.1Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.8Mb
    libs  84.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.9Mb
    libs   3.2Mb
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 87.7Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.8Mb
    libs  83.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 89.1Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.8Mb
    libs  84.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    data   1.3Mb
    help   1.9Mb
    libs   3.2Mb

Dependency Network

Dependencies Reverse dependencies rstan BiocManager boot doParallel (>= 1.0.17) foreach ggplot2 ggpubr (>= 0.4.0) iterators laGP lhs matrixStats RColorBrewer Rcpp RcppParallel reshape +2 more dependencies BayesianPlatformDesignTimeTrend

Version History

11 tracked
new 1.2.3 Mar 10, 2026
updated 1.2.3 ← 1.2.2 diff Dec 6, 2023
updated 1.2.2 ← 1.2.1 diff Nov 21, 2023
updated 1.2.1 ← 1.2.0 diff Oct 10, 2023
updated 1.2.0 ← 1.1.3 diff Oct 4, 2023
updated 1.1.3 ← 1.1.2 diff Aug 21, 2023
updated 1.1.2 ← 1.1.1 diff Jun 24, 2023
updated 1.1.1 ← 1.1.0 diff Jun 11, 2023
updated 1.1.0 ← 1.0.1 diff May 4, 2023
updated 1.0.1 ← 1.0.0 diff May 1, 2023
new 1.0.0 Mar 14, 2023