Skip to content

The R WINS Package

0packages dependsuggested by 1
3.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by Ying CuiCRAN page ↗

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

CRAN checks
13OK
Slowest check: 6.2 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.5.1
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

3.6K
CRAN downloads in the past year
Rank #8,817 · ~10/day · ~300/mo
Daily download trend is not available in this view yet.
44230 days
1.1K90 days
3.6K1 year
Compare downloads with other packages →
Also on72 r2u2 autocran

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0 (2021)
Author
Releases (12)

Pick two releases to compare their code metrics.

Show 2 earlier eventsHide 2 earlier events
  • 1.0
    record
    2021-12-16
  • R
    R 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")
Cui, Y., & Huang, B. (2025). WINS: The R WINS Package (Version 1.5.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for WINS version 1.5.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy