{
  "_id": "6ab26be13d719c1f8408d612",
  "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-09-22 11:47:58 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",
  "_user": "cuiyingbeicheng",
  "_type": "src",
  "_file": "WINS_1.5.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/e254e6a457b0c92653571a5f4885a7ab232c655b29faf223ae7a15d8aadb2a7a",
  "_filesize": 470996,
  "_sha256": "e254e6a457b0c92653571a5f4885a7ab232c655b29faf223ae7a15d8aadb2a7a",
  "_expires": "2026-12-31T11:51:59.000Z",
  "_created": "2026-09-22T11:47:58.000Z",
  "_published": "2026-09-22T11:52:01.696Z",
  "_jobs": [
    {
      "job": 106731586828,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10692394133"
    },
    {
      "job": 106731587077,
      "time": 199,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10691874619"
    },
    {
      "job": 106731586852,
      "time": 187,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "10691684771"
    },
    {
      "job": 106731586808,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10691904371"
    },
    {
      "job": 106730171966,
      "time": 281,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10692318686"
    },
    {
      "job": 106731586833,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10692369034"
    },
    {
      "job": 106731586810,
      "time": 97,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10692188949"
    },
    {
      "job": 106731586868,
      "time": 86,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "10691624697"
    },
    {
      "job": 106731586815,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10691874277"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "cuiyingbeicheng",
      "count": 12,
      "uuid": 18009446
    }
  ],
  "_userbio": {
    "uuid": 18009446,
    "type": "user",
    "name": "Ying Cui",
    "followers": 2
  },
  "_downloads": {
    "count": 378,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/WINS"
  },
  "_mentions": 7,
  "_searchresults": 14,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/WINS.html"
  ],
  "_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",
    "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.991226075692495,
  "_indexed": true,
  "_nocasepkg": "wins",
  "_universes": [
    "cuiyingbeicheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-09-22T11:50:31.000Z",
      "distro": "resolute",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/8c17e2f4fe6575eb8bccc57bad90e79f0c4ca9a9718fc768d6e045dfd3761f92",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-09-22T11:51:12.000Z",
      "distro": "resolute",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/6602bbb28c0c507dd1143662254acbdd66234b5302ce0b74deb10c39deb0a0f1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-09-22T11:50:49.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/1daa90e07ce3ff4c91613667d62fb0b81f21c22445e5acb8b3420415101a614d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-09-22T11:49:59.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/324a6a43aa939967b0038b0a59a34c5c93fcc84a29e4618d21d82f25313a9dba",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.1",
      "date": "2026-09-22T11:50:38.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/c18bf32940f43cedf66ecb36a8205537c6f4cfb55ff27a9f16e2f9b2c3133b9d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-09-22T11:49:20.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/74b6329144079efcefc8d7c9e0601f30dba9ff6ed4322bc4493979badddc9224",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-09-22T11:49:14.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/15caf42050f52ca967431b76e4098b66f0fe926a6a970bafe5ab51f690bfed83",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-09-22T11:49:13.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/f10f4d1ffe97bf5a6c2c4be1027dd6b4a06481c8690c37da34d6fa2f64ef3d7b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/35723008752"
    }
  ]
}