Package: WINS
Type: Package
Title: The R WINS Package
Version: 1.5.1
Authors@R: c(person(given = "Ying",
             family = "Cui",
             role = c("aut", "cre"),
             email = "cuiyingbeicheng@gmail.com"),
             person(given = "Bo",
             family = "Huang",
             role = "aut"))
Maintainer: Ying Cui <cuiyingbeicheng@gmail.com>
Description: 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.
Depends: R (>= 3.5.0)
Imports: copula,ggplot2,ggpubr,reshape2,survival,stringr,viridis
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
License: GPL (>= 2)
Encoding: UTF-8
LazyData: true
NeedsCompilation: no
Packaged: 2025-07-02 06:08:42 UTC; ycui
Author: Ying Cui [aut, cre],
  Bo Huang [aut]
Repository: CRAN
Date/Publication: 2025-07-02 06:30:02 UTC
Built: R 4.6.0; ; 2026-04-25 14:16:27 UTC; unix
