Package: multigrain 1.0.0.9000

Alex Spiers

multigrain: Optimise Graphical Approaches to Multiple Testing Procedures

Find the optimal graphical multiple testing procedure for confirmatory clinical trials that test several hypotheses across endpoints, doses, or subpopulations. Choose the graph maximising an explicit gain-function: a user-defined measure of trial success that scores each possible set of rejected hypotheses. Given simulated p-values, search over hypothesis weights and transition weights to maximise expected trial success. Conventional power criteria are recovered and the family-wise error rate is strongly controlled due to the search being confined to graphical procedures. Described in Spiers, Grayling, Wheeler, and Mander (2026) "Gain-function optimisation of graphical multiple testing procedures for confirmatory clinical trials" <doi:10.48550/arXiv.2609.19994>.

Authors:Alex Spiers [aut, cre], Dragoș Moldovan-Grünfeld [aut], GlaxoSmithKline Research & Development Limited [cph, fnd]

multigrain_1.0.0.9000.tar.gz
multigrain_1.0.0.9000.zip(r-4.7-x86_64)multigrain_1.0.0.9000.zip(r-4.7-arm64)multigrain_1.0.0.9000.zip(r-4.6-x86_64)multigrain_1.0.0.9000.zip(r-4.6-arm64)multigrain_1.0.0.9000.zip(r-4.5-x86_64)
multigrain_1.0.0.9000.tgz(r-4.6-x86_64)multigrain_1.0.0.9000.tgz(r-4.6-arm64)multigrain_1.0.0.9000.tgz(r-4.5-x86_64)multigrain_1.0.0.9000.tgz(r-4.5-arm64)
multigrain_1.0.0.9000.tar.gz(r-4.7-arm64)multigrain_1.0.0.9000.tar.gz(r-4.7-x86_64)multigrain_1.0.0.9000.tar.gz(r-4.6-arm64)multigrain_1.0.0.9000.tar.gz(r-4.6-x86_64)
multigrain_1.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
multigrain/json (API)

# Install 'multigrain' in R:
install.packages('multigrain', repos = c('https://gsk-biostatistics.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gsk-biostatistics/multigrain/issues

Pkgdown/docs site:https://gsk-biostatistics.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

3.48 score 9 scripts 18 exports 58 dependencies

Last updated from:16f66d0d20. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK199
linux-devel-x86_64OK247
source / vignettesOK391
linux-release-arm64OK185
linux-release-x86_64OK243
macos-release-arm64OK285
macos-release-x86_64OK546
macos-oldrel-arm64OK195
macos-oldrel-x86_64OK430
windows-devel-arm64OK515
windows-devel-x86_64OK260
windows-release-arm64OK507
windows-release-x86_64OK216
windows-oldrel-x86_64OK217
wasm-releaseOK120

Exports:calc_ncpcalc_power_pvalscontrol_globalcontrol_localcontrol_nsim_globalcontrol_nsim_localgraph_constraintgraph_constraint_freegraph_optimal_get_controlgraph_optimisegraph_optimizegraph_randomis_graph_validmultigrain_controlmultigrain_verbositynormalise_sumsimulate_pvaluestrial_success

Dependencies:base64enccachemclicodetoolscpp11crayondplyrfarverfastmapforeachGAgenericsggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtableigraphisobanditeratorsjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmemoisemvtnormnloptrpillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadilloRcppParallelrlangS7scalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8vctrsviridisviridisLitewithr