The R WINS Package
Overview
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.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 12
- Examples that run
- 64%7 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 80%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 8%
Downloads
Dependencies
Installing WINS adds 78 packages (40 with compiled code, 72 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.5.1Latest
- 1.52025-05-05 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.4.32025-01-13 · diff ↗
- 1.4.22024-04-29 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.4.12024-04-19 · diff ↗
- 1.4
- 1.3.32023-07-09 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.3.22022-09-30 · diff ↗
- 1.32022-09-09 · diff ↗
- 1.22022-07-18 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.12022-02-03 · diff ↗
Show 2 earlier eventsHide 2 earlier events
- 1.02021-12-16
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-12-16
- Total releases
- 12 / 5 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 52 KB / 5 files
- Download size
- 215 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("WINS")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.