{
  "_id": "6ac76e65de46216d5edcfc5a",
  "Package": "nnt",
  "Type": "Package",
  "Title": "The Number Needed to Treat (NNT) for Survival Endpoint",
  "Version": "0.1.4",
  "Author": "Zhao Yang",
  "Maintainer": "Zhao Yang <yangz98@connect.hku.hk>",
  "Description": "Estimate the NNT using the proposed method in Yang and\nYin's paper (2019) <doi:10.1371/journal.pone.0223301>, in which\nthe NNT-RMST (number needed to treat based on the restricted\nmean survival time) is defined as the RMST (restricted mean\nsurvival time) in the control group divided by the difference\nin RMSTs between the treatment and control groups up to a\nchosen time t.",
  "Date": "2020-04-15",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.0.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 09:34:07 UTC",
    "User": "root"
  },
  "Repository": "https://yangzhao98.r-universe.dev",
  "Date/Publication": "2020-04-22 15:04:12 UTC",
  "RemoteUrl": "https://github.com/cran/nnt",
  "RemoteRef": "HEAD",
  "RemoteSha": "9fa0cebb6557912d7881478a41730e0a985278b7",
  "_user": "yangzhao98",
  "_type": "src",
  "_file": "nnt_0.1.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/30cbda98344b3c797588dfcf5813cfe5926d3de61bf6b2430377d031d02d0e8f",
  "_filesize": 83169,
  "_sha256": "30cbda98344b3c797588dfcf5813cfe5926d3de61bf6b2430377d031d02d0e8f",
  "_expires": "2027-01-16T10:20:19.000Z",
  "_created": "2026-10-08T09:34:07.000Z",
  "_published": "2026-10-08T10:20:20.784Z",
  "_buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113245838003,
      "time": 104,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11540692079"
    },
    {
      "job": 113245838046,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540288799"
    },
    {
      "job": 113245838142,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11542199597"
    },
    {
      "job": 113245838047,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11543091412"
    },
    {
      "job": 113244807565,
      "time": 157,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540577565"
    },
    {
      "job": 113245838182,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11540886721"
    },
    {
      "job": 113245838205,
      "time": 84,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11541205907"
    },
    {
      "job": 113245838227,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11541255823"
    },
    {
      "job": 113245838179,
      "time": 64,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540233544"
    }
  ],
  "_upstream": "https://github.com/cran/nnt",
  "_commit": {
    "id": "9fa0cebb6557912d7881478a41730e0a985278b7",
    "author": "Zhao Yang <yangz98@connect.hku.hk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.4\n",
    "time": 1587567852
  },
  "_maintainer": {
    "name": "Zhao Yang",
    "email": "yangz98@connect.hku.hk",
    "login": "yangzhao98",
    "description": "PhD",
    "uuid": 29568039
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "survRM2",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yangzhao98",
      "count": 1,
      "uuid": 29568039
    }
  ],
  "_userbio": {
    "uuid": 29568039,
    "type": "user",
    "name": "DemoYang",
    "followers": 15,
    "description": "PhD"
  },
  "_downloads": {
    "count": 240,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nnt"
  },
  "_mentions": 1,
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/nnt.html"
  ],
  "_realowner": "yangzhao98",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.4",
      "date": "2020-04-22"
    }
  ],
  "_exports": [
    "KM2NNT",
    "RM2NNT",
    "RMvsKM"
  ],
  "_help": [
    {
      "page": "KM2NNT",
      "title": "Calculate the NNT based on the Kaplan-Meier estimated survival rates between the treatment and control groups",
      "topics": [
        "KM2NNT"
      ]
    },
    {
      "page": "RM2NNT",
      "title": "Calculate the NNT based on the restricted mean survival times between the treatment and control groups",
      "topics": [
        "RM2NNT"
      ]
    },
    {
      "page": "RMvsKM",
      "title": "Compare the performance between the NNT-RMST and NNT-KM through the average life gain per patient",
      "topics": [
        "RMvsKM"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "Matrix",
    "survival",
    "survRM2"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "nnt",
  "_universes": [
    "yangzhao98"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-10-08T09:35:44.000Z",
      "distro": "resolute",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "https://r2.ropensci.org/2a7c827ebc92d27a535fe99831e178695e790c953c21f0e45f59db43ba8b8bae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-10-08T09:36:09.000Z",
      "distro": "resolute",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "https://r2.ropensci.org/136f39b049a71ca08ecc8db714e9da68abfe353dc88161c99280659047878b88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-10-08T10:18:32.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "https://r2.ropensci.org/897b1cca4f74cc47dd0172fe13e09531106524305a5af5520e4453f8440359d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-10-08T10:18:41.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "https://r2.ropensci.org/62eff732e42940b4543a5818ec43708cfd06fe3932bc5446a9ee2c627625f7cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-10-08T09:35:42.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "https://r2.ropensci.org/b7c4e2f693e5117cf0bb8279f9fb5d478c4cade5710e68c7e0d12e390cdc765e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-10-08T09:35:17.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "https://r2.ropensci.org/a108ae3484c039881f0ec5b33485f16ef495de0d1c5792d8673f859d1317373a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-10-08T09:35:15.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "https://r2.ropensci.org/b6018c6a4aab5517632dbeda19594213e6358cb8212841e8cf2c89e756f31f4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-10-08T09:35:02.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "https://r2.ropensci.org/cfa35d08163ff82706245abe76e8a5ae6ff67720745f52f3f2675a8fef1d3fec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/37757224192"
    }
  ]
}