Learn R Programming

nnt (version 0.1.4)

The Number Needed to Treat (NNT) for Survival Endpoint

Description

Estimate the NNT using the proposed method in Yang and Yin's paper (2019) , 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.

Copy Link

Version

Install

install.packages('nnt')

Monthly Downloads

169

Version

0.1.4

License

GPL-3

Maintainer

Zhao Yang

Last Published

April 22nd, 2020

Functions in nnt (0.1.4)

RM2NNT

Calculate the NNT based on the restricted mean survival times between the treatment and control groups
RMvsKM

Compare the performance between the NNT-RMST and NNT-KM through the average life gain per patient
KM2NNT

Calculate the NNT based on the Kaplan-Meier estimated survival rates between the treatment and control groups