{
  "_id": "6a59b6a509eb0996dd68cd1b",
  "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-07-17 04:54:33 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/248a51f539c2fcd138082b2e7eaf6a882683cb09e205380fd7683353969e44ba",
  "_filesize": 467471,
  "_sha256": "248a51f539c2fcd138082b2e7eaf6a882683cb09e205380fd7683353969e44ba",
  "_expires": "2026-10-25T04:59:15.000Z",
  "_created": "2026-07-17T04:54:33.000Z",
  "_published": "2026-07-17T04:59:17.462Z",
  "_jobs": [
    {
      "job": 87808032786,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8397457668"
    },
    {
      "job": 87808032784,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8397459219"
    },
    {
      "job": 87808032781,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8397473598"
    },
    {
      "job": 87808032778,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8397464472"
    },
    {
      "job": 87807417363,
      "time": 311,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8397421640"
    },
    {
      "job": 87808032755,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8397452001"
    },
    {
      "job": 87808032767,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8397439437"
    },
    {
      "job": 87808032765,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8397441006"
    },
    {
      "job": 87808032769,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8397441971"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019",
  "_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": 0,
  "_contributors": [
    {
      "user": "cuiyingbeicheng",
      "count": 12,
      "uuid": 18009446
    }
  ],
  "_userbio": {
    "uuid": 18009446,
    "type": "user",
    "name": "Ying Cui",
    "followers": 2
  },
  "_downloads": {
    "count": 335,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/WINS"
  },
  "_mentions": 7,
  "_searchresults": 12,
  "_rbuild": "4.6.1",
  "_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",
    "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.924279286061882,
  "_indexed": true,
  "_nocasepkg": "wins",
  "_universes": [
    "cuiyingbeicheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-07-17T04:57:03.000Z",
      "distro": "resolute",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/8b1a9ae6ef8b0e246a959c77fb58c821d55f42f01ba488c129c35429f8c9a4ac",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-07-17T04:57:09.000Z",
      "distro": "resolute",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/3b2641a276a21bb8f6828de0c0138e4e352e71947b76466678832ce8088e93f7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-07-17T04:58:20.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/0c095e3964a8e298b49f9f6f1870aabcf828e821bb152b3b6b65153193b068de",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-07-17T04:57:38.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/d277940ce6ecdc4bf5b699ef290e15c41a6948077da938dab574bca443411549",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.1",
      "date": "2026-07-17T04:56:59.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/d14bf1ee6bac7832f2373b451e2906f2501cf3e7364e6d61e3c33524f48a0197",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-07-17T04:55:38.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/4359986bf2a0adb147a109cf86f40ba80a74673d15849e3ce6edec3af07b4bc6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-07-17T04:55:46.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/d6fa2a775bca8673d0a842df89554afa293b3a66261663b6b1337b9110c49045",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-07-17T04:55:49.000Z",
      "commit": "6fec397f2ad1185ac3140b39d4eb2158d0f8d9a7",
      "fileid": "https://r2.ropensci.org/2400a3c63857b95433312cb3e9ae28408002ff3522c91f12c6d85fa93cf41374",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cuiyingbeicheng/actions/runs/29555774019"
    }
  ]
}