Skip to content

nnt

The Number Needed to Treat (NNT) for Survival Endpoint

v0.1.4 · Apr 22, 2020 · GPL-3

Description

Estimate the NNT using the proposed method in Yang and Yin's paper (2019) <doi:10.1371/journal.pone.0223301>, in which the NNT-RMST (number needed to treat based on the restricted mean survival time) is defined as the RMST (restricted mean survival time) in the control group divided by the difference in RMSTs between the treatment and control groups up to a chosen time t.

Downloads

327

Last 30 days

11948th

631

Last 90 days

2.2K

Last year

Trend: +121% (30d vs prior 30d)

CRAN Check Status

5 NOTE
9 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (5 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Zhao Yang <yangz98@connect.hku.hk>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Zhao",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangz98@connect.hku.hk")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Zhao Yang <yangz98@connect.hku.hk>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Zhao",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangz98@connect.hku.hk")
as necessary.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Zhao Yang <yangz98@connect.hku.hk>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Zhao",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangz98@connect.hku.hk")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Zhao Yang <yangz98@connect.hku.hk>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Zhao",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangz98@connect.hku.hk")
as necessary.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Dependency Network

Dependencies Reverse dependencies survival survRM2 nnt

Version History

new 0.1.4 Mar 10, 2026