Visual Summaries and Wrappers for Estimating the Win Ratio and Related Measures

Facilitates analysis of Generalised Pairwise Comparisons with Prioritised Outcomes (e.g. Win Ratio, Win Odds). Includes a wrapper function that enables rank-based Desirability of Outcome Ranking analyses with any existing ordinal analysis package (e.g. probabilistic index models provided by R package `pim') plus automated input processing and a formula-based interface for estimating win statistics (using R package `WINS') without needing to restructure or rename the data. In both cases, supports improved interpretation of prioritised outcomes analyses using the approach proposed by Johns et al. (2026) where the treatment effect is estimated separately for each outcome plus cumulatively as they are added to the outcome prioritisation. The contribution of each outcome to the overall effect size is then visualised with a supplied plotting function.


Winnify - improved analysis under the Generalised Pairwise Comparisons Framework

Winnify is a quality of life package for conducting analyses for prioritised outcomes under the generalised pairwise comparisons framework (e.g. Win Ratio, Win Odds, etc).

It provides wrappers for other functions, including the WINS package and any rank-based regression approach with coef() and confint() methods. These wrappers can be used with the core winnify() function to show treatment effects as successively less important outcomes are added to the prioritised outcomes analysis.

The package also supports plotting of results produced by winnify() using the approach pioneered by the MSU-TELEMED trial and recommended by a tutorial paper published by the same group

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("winnify")

1.0.0 by Hannah Johns, 17 days ago


Browse source code at https://github.com/cran/winnify


Authors: Hannah Johns [aut, cre] (ORCID: , Nathalie Launder [aut] , Leonid Churilov [aut]


Documentation:   PDF Manual  


GPL (>= 2.0) license


Imports ggplot2, RColorBrewer, patchwork, rlang, WINS, methods, sloop

Suggests genodds, pim, MASS, testthat, WinRatio, survival


See at CRAN