Graphical Multiple Comparison Procedures
Overview
Multiple comparison procedures (MCPs) control the familywise error rate in clinical trials. Graphical MCPs include many commonly used procedures as special cases; see Bretz et al. (2011) doi:10.1002/bimj.201000239, Lu (2016) doi:10.1002/sim.6985, and Xi et al. (2017) doi:10.1002/bimj.201600233. This package is a low-dependency implementation of graphical MCPs which allow mixed types of tests. It also includes power simulations and visualization of graphical MCPs.
- Added group sequential testing for graphical MCPs via
graph_test_shortcut_gsd(), which extendsgraph_test_shortcut()to multiple analyses with per-hypothesis spending functions, information fractions, and alook_backoption to use repeated or sequential p-values - Added spending functions
spending_of(),spending_pocock(),spending_hsd(),spending_linear(),spending_wt()(Wang-Tsiatis), andspending_with_time()for a custom spending time - Added
gs_boundaries(),gs_corr(),repeated_p(), andsequential_p() - Added vignettes on group sequential testing and on its validation against gsDesign and rpact
- Renamed the
Adj. P-valuecolumn toAdj.pinprint.graph_report() - Added a warning in
graph_create()for very small transition weights (Issue #97) - Plotting examples, vignettes, and tests are skipped when
igraphorgMCPis not installed
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-04
- ERROR11 OK, 2 ERROR2026-08-26
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-06
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-04
- OK14 OK2026-03-10
Documentation
- Help pages
- 37 (11 internal)includes a package overview page
- Examples that run
- 100%25 run in a plain check (2 of them under a condition)
- Exported functions with examples
- 95%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 68%
- Get started HTML
- Common multiple comparison procedures illustrated using graphicalMCP HTML
- Glossary HTML
- Graphical multiple comparison procedures based on the closure principle
- Group Sequential Design with Graphical Approaches
- Power simulations using multiple approaches for internal validation HTML
- Sequentially rejective graphical multiple comparison procedures based on Bonferroni tests
- Validation of Group Sequential Functions Against gsDesign and rpact HTML
Downloads
Repository
- PRs merged (all time)
- 85%
- Median days to close, 50 most recently updated closed issues
- 64
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/openpharma/graphicalmcp on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-27 · The repository has a site deploy workflow
pkgdown site last built 2026-10-11
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-08-21Pull request it wrote: opened by a project memberCommits: at least 17 crediting it in the message
- Claude Opus 4.89 commits · Aug to Oct 2026
- Claude Fable 58 commits · Aug 2026
Dependencies
Installing graphicalMCP adds 2 packages (2 with compiled code, 1.2 MB of source tarballs). Heaviest: mvtnorm 1.0 MB, matrixStats 207 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.3.0Latest2026-08-27 · current release · diff ↗ ·
added 11 exports
graph_test_shortcut_gsd, gs_boundaries, gs_corr, repeated_p, sequential_p, spending_hsd, spending_linear, spending_of, spending_pocock, spending_with_time, spending_wt - RR 4.6.0 released · 2026-04-24
- 0.2.92026-03-21 · diff ↗
- 0.2.82025-05-07 · diff ↗ ·
added 10 exports
adjust_p_hochberg, adjust_weights_hochberg, bonferroni_holm_weighted, bonferroni_weighted, dunnett_closure_weighted, dunnett_single_step, dunnett_single_step_weighted, hochberg, hommel, sidak - RR 4.5.0 released · 2025-04-11
- 0.2.62024-11-08 · diff ↗
- 0.2.52024-07-13
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-07-13
- Total releases
- 5 / 2 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 4.1.0
- Download size
- 1.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("graphicalMCP")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.