nnt: The Number Needed to Treat (NNT) for Survival Endpoint

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.

Getting started

Package details

AuthorZhao Yang
MaintainerZhao Yang <yangz98@connect.hku.hk>
LicenseGPL-3
Version0.1.4
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("nnt")

Try the nnt package in your browser

Any scripts or data that you put into this service are public.

nnt documentation built on April 22, 2020, 5:08 p.m.