{
  "_id": "6a1801ccacfb0bcc41dac04b",
  "Package": "WINS",
  "Type": "Package",
  "Title": "The R WINS Package",
  "Version": "1.5.1",
  "Authors@R": "c(person(given = \"Ying\",\nfamily = \"Cui\",\nrole = c(\"aut\", \"cre\"),\nemail = \"cuiyingbeicheng@gmail.com\"),\nperson(given = \"Bo\",\nfamily = \"Huang\",\nrole = \"aut\"))",
  "Maintainer": "Ying Cui <cuiyingbeicheng@gmail.com>",
  "Description": "Calculate the win statistics (win ratio, net benefit and\nwin odds) for prioritized multiple endpoints, plot the win\nstatistics and win proportions over study time if at least one\ntime-to-event endpoint is analyzed, and simulate datasets with\ndependent endpoints. The package can handle any type of\noutcomes (continuous, ordinal, binary, time-to-event) and allow\nusers to perform stratified analysis, inverse probability of\ncensoring weighting (IPCW) and inverse probability of treatment\nweighting (IPTW) analysis.",
  "VignetteBuilder": "knitr",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 08:47:14 UTC",
    "User": "root"
  },
  "Author": "Ying Cui [aut, cre], Bo Huang [aut]",
  "Config/pak/sysreqs": "cmake make libgsl0-dev libicu-dev",
  "Repository": "https://cuiyingbeicheng.r-universe.dev",
  "Date/Publication": "2025-07-02 06:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/WINS",
  "RemoteRef": "HEAD",
  "RemoteSha": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
  "MD5sum": "8088c939dd81007927cd4699cdd783d3",
  "_user": "cuiyingbeicheng",
  "_type": "src",
  "_file": "WINS_1.5.1.tar.gz",
  "_fileid": "0e14024672b4219887374db96814937dca4017da66ee2df0b01f3adffb1836f2",
  "_filesize": 467612,
  "_sha256": "0e14024672b4219887374db96814937dca4017da66ee2df0b01f3adffb1836f2",
  "_created": "2026-05-28T08:47:14.000Z",
  "_published": "2026-05-28T08:50:19.997Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78255909208,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7261637066"
    },
    {
      "job": 78255909299,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7261633708"
    },
    {
      "job": 78255909190,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7261622191"
    },
    {
      "job": 78255909149,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7261622198"
    },
    {
      "job": 78255133306,
      "time": 287,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261585354"
    },
    {
      "job": 78255909147,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261627529"
    },
    {
      "job": 78255909211,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7261622341"
    },
    {
      "job": 78255909181,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7261616342"
    },
    {
      "job": 78255909337,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7261613359"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/WINS",
  "_commit": {
    "id": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
    "author": "Ying Cui <cuiyingbeicheng@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.5.1\n",
    "time": 1751437802
  },
  "_maintainer": {
    "name": "Ying Cui",
    "email": "cuiyingbeicheng@gmail.com",
    "login": "cuiyingbeicheng",
    "description": "",
    "uuid": 18009446
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "copula",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.5.1",
      "date": "2025-07-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "cuiyingbeicheng",
      "count": 12,
      "uuid": 18009446
    }
  ],
  "_userbio": {
    "uuid": 18009446,
    "type": "user",
    "name": "Ying Cui"
  },
  "_downloads": {
    "count": 280,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/WINS"
  },
  "_mentions": 7,
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/WINS.html",
    "manual.pdf"
  ],
  "_realowner": "cuiyingbeicheng",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2021-12-16"
    },
    {
      "version": "1.1",
      "date": "2022-02-03"
    },
    {
      "version": "1.2",
      "date": "2022-07-18"
    },
    {
      "version": "1.3",
      "date": "2022-09-09"
    },
    {
      "version": "1.3.2",
      "date": "2022-09-30"
    },
    {
      "version": "1.3.3",
      "date": "2023-07-09"
    },
    {
      "version": "1.4",
      "date": "2024-04-08"
    },
    {
      "version": "1.4.1",
      "date": "2024-04-19"
    },
    {
      "version": "1.4.2",
      "date": "2024-04-29"
    },
    {
      "version": "1.4.3",
      "date": "2025-01-13"
    },
    {
      "version": "1.5",
      "date": "2025-05-05"
    },
    {
      "version": "1.5.1",
      "date": "2025-07-02"
    }
  ],
  "_exports": [
    "partition_t.plot",
    "sim.data",
    "stat_t.plot",
    "win.stat",
    "win.strategy.default"
  ],
  "_datasets": [
    {
      "name": "data_binary",
      "title": "An example with three binary endpoints.",
      "object": "data_binary",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "arm",
        "Y_1",
        "Y_2",
        "Y_3"
      ],
      "rows": 250,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_continuous",
      "title": "An example with three continuous endpoints.",
      "object": "data_continuous",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "arm",
        "Y_1",
        "Y_2",
        "Y_3"
      ],
      "rows": 250,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_mix",
      "title": "An example with a mixture of endpoint types.",
      "object": "data_mix",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "arm",
        "Delta_1",
        "Y_1",
        "Y_2",
        "Y_3"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_mix_stratum",
      "title": "An example with a mixture of endpoint types with three strata.",
      "object": "data_mix_stratum",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "arm",
        "stratum",
        "Delta_1",
        "Y_1",
        "Y_2",
        "Y_3"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_tte",
      "title": "An example with three TTE endpoints.",
      "object": "data_tte",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "arm",
        "Delta_1",
        "Delta_2",
        "Delta_3",
        "Y_1",
        "Y_2",
        "Y_3"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    },
    {
      "name": "Z_t_con",
      "title": "Covariate history in the control group.",
      "object": "data_tte",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "Z1",
        "Z2"
      ],
      "rows": 424,
      "table": true,
      "tojson": true
    },
    {
      "name": "Z_t_trt",
      "title": "Covariate history in the treatment group.",
      "object": "data_tte",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "Z1",
        "Z2"
      ],
      "rows": 796,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "data_binary",
      "title": "An example with three binary endpoints.",
      "topics": [
        "data_binary"
      ]
    },
    {
      "page": "data_continuous",
      "title": "An example with three continuous endpoints.",
      "topics": [
        "data_continuous"
      ]
    },
    {
      "page": "data_mix",
      "title": "An example with a mixture of endpoint types.",
      "topics": [
        "data_mix"
      ]
    },
    {
      "page": "data_mix_stratum",
      "title": "An example with a mixture of endpoint types with three strata.",
      "topics": [
        "data_mix_stratum"
      ]
    },
    {
      "page": "data_tte",
      "title": "An example with three TTE endpoints.",
      "topics": [
        "data_tte"
      ]
    },
    {
      "page": "partition_t.plot",
      "title": "Plot the Win Proportion over the Study Time.",
      "topics": [
        "partition_t.plot"
      ]
    },
    {
      "page": "sim.data",
      "title": "Function for Data Simulation",
      "topics": [
        "sim.data"
      ]
    },
    {
      "page": "stat_t.plot",
      "title": "Plot Win Statistics over the Study Time.",
      "topics": [
        "stat_t.plot"
      ]
    },
    {
      "page": "win.stat",
      "title": "Function to Calculate the Win Statistics",
      "topics": [
        "win.stat"
      ]
    },
    {
      "page": "win.strategy.default",
      "title": "The Default Win Strategy Function.",
      "topics": [
        "win.strategy.default"
      ]
    },
    {
      "page": "Z_t_con",
      "title": "Covariate history in the control group.",
      "topics": [
        "Z_t_con"
      ]
    },
    {
      "page": "Z_t_trt",
      "title": "Covariate history in the treatment group.",
      "topics": [
        "Z_t_trt"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "ADGofTest",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "cluster",
    "colorspace",
    "copula",
    "corrplot",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gsl",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pcaPP",
    "pillar",
    "pkgconfig",
    "plyr",
    "polynom",
    "pspline",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "reshape2",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stabledist",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "vignette.Rmd",
      "filename": "vignette.html",
      "title": "Introduction to the R Package WINS",
      "author": "Ying Cui and Bo Huang^[Affiliation: Stanford University, Pfizer Inc.]",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A Brief Overview",
        "Introduction of the Win Statistics",
        "Estimate Win Statistics using win.stat",
        "An example with three binary endpoints",
        "An example with three continuous endpoints",
        "An example with three time-to-event endpoints",
        "An example with a mixture of endpoint types: two continuous and one TTE",
        "An example with a mixture of endpoint types: two continuous and one TTE with three strata",
        "An example to conduct IPTW-adjusted win statistics analysis",
        "Data simulation with the function sim.data",
        "Plot the Win Statistics/Win Proportions over Time",
        "Acknowledgement",
        "Reference"
      ],
      "created": "2021-12-16 09:20:08",
      "modified": "2025-05-05 21:30:02",
      "commits": 3
    }
  ],
  "_score": 2.845098040014257,
  "_indexed": true,
  "_nocasepkg": "wins",
  "_universes": [
    "cuiyingbeicheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-05-28T08:49:42.000Z",
      "distro": "noble",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "8f43ff22ba7a6610665d4710c0d14b2039e05904284faf720c13f649f4767940",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-05-28T08:49:35.000Z",
      "distro": "noble",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "f945bf44ba9ad5a3875b856c7351ba63362e8584538ca2a8ca1f3e47cdc68f86",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-05-28T08:49:08.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "76787b8f84387bfdd1a81109e08d75467f0cd0bfcb63f800a068d6d654aab4c5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-05-28T08:49:07.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "7e27e092c5e4e2ff5a77ef1119002c2ae246eb543d39b50139a82e69b260e836",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.1",
      "date": "2026-05-28T08:49:36.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "e3049aab60c2b7580b251ad579386f027966cd1ea6208b3231df9518d0f38ad6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-05-28T08:48:51.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "aace720e5c3479abf07a76059fe5e0fa95f698cd6b20487874f4ec1ad750122d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-05-28T08:48:34.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "e5cff8843c56d4f8ea3af24d2db092fee7b03b49a67199a1e94b61036a6b19b9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-05-28T08:48:28.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "33cf109e289f4f9e1d9a63efdaab88d69a81e0f2017e57a759285fccb2ff2b53",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/26564360952"
    }
  ]
}