{
  "_id": "6a1042cfacfb0bcc41c9dc95",
  "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-05-11 07:09:23 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",
  "MD5sum": "ec8766b302af346816db160fe27216fc",
  "_user": "yangzhao98",
  "_type": "src",
  "_file": "nnt_0.1.4.tar.gz",
  "_fileid": "97ab66467cf8189f0edfb53a9f0ba2735d0e8624fc1b969b0fdaf67ac419e386",
  "_filesize": 83733,
  "_sha256": "97ab66467cf8189f0edfb53a9f0ba2735d0e8624fc1b969b0fdaf67ac419e386",
  "_created": "2026-05-11T07:09:23.000Z",
  "_published": "2026-05-22T11:49:35.139Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77373624049,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912310006"
    },
    {
      "job": 77373623795,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912308386"
    },
    {
      "job": 77373623820,
      "time": 241,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912331732"
    },
    {
      "job": 77373624099,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912316327"
    },
    {
      "job": 77373623608,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912275660"
    },
    {
      "job": 77373623391,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159768104"
    },
    {
      "job": 77373624145,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912303331"
    },
    {
      "job": 77373624032,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912298407"
    },
    {
      "job": 77373623711,
      "time": 70,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912296198"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 29568039
  },
  "_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",
    "description": "PhD"
  },
  "_downloads": {
    "count": 188,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nnt"
  },
  "_mentions": 1,
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/nnt.html",
    "manual.pdf"
  ],
  "_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-05-11T07:11:21.000Z",
      "distro": "noble",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "b5eec6b86fa47fff131dbfe3c4bf4eba13076fa329018529c4a79459691fc837",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-05-11T07:11:17.000Z",
      "distro": "noble",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "06c093247aba417b2d650827311aac95f191144f77b6ec9904817306216f93ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-05-11T07:12:40.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "c4fbe27c4e3c86e9225b596cdcada2cde666d6574c96f220bd8ae6ea0ce868ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-05-11T07:11:46.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "0d4fd4c8a737ba4850f7d4b14d542366e95b90ff9f33c7cf09c7f1afe9ce4ed3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-11T07:10:50.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "6dead5d568a30fab76e41a52097820e1b71096a05c8183537009b592553d6f32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-11T07:10:39.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "196d92b3e48ae5f5800de1295e5b727bc03dcbd680514707272d8500a333512f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-11T07:10:30.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "82c6a7d10b1f31ebafa01885f0d93b3886db3a2e6e12777f78d38636697c2435",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-05-22T11:49:18.000Z",
      "commit": "9fa0cebb6557912d7881478a41730e0a985278b7",
      "fileid": "8e8baccbc53af78d9f836e135e23c81f5648ff8c2689da3e34507b826c16e808",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yangzhao98/actions/runs/25655493711"
    }
  ]
}