The R WINS Package

Calculate the win statistics (win ratio, net benefit and win odds) for prioritized multiple endpoints, plot the win statistics and win proportions over study time if at least one time-to-event endpoint is analyzed, and simulate datasets with dependent endpoints. The package can handle any type of outcomes (continuous, ordinal, binary, time-to-event) and allow users to perform stratified analysis, inverse probability of censoring weighting (IPCW) and inverse probability of treatment weighting (IPTW) analysis.


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("WINS")

1.5.1 by Ying Cui, a year ago


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


Authors: Ying Cui [aut, cre] , Bo Huang [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports copula, ggplot2, ggpubr, reshape2, survival, stringr, viridis

Suggests knitr, rmarkdown


Suggested by causalWins.


See at CRAN