compute_NNT: Compute Number Needed to treat

Description Usage Arguments Details Value

View source: R/compute_NNT.R

Description

Compute Number Needed to treat

Usage

1
compute_NNT(e, n, alpha)

Arguments

e

a bivariate numeric vector of counts of events in the two treatment groups

n

a bivariate numeric vector of size of the two treatment groups

alpha

a numeric valie between 0 and 1 so as to obtain 1-alpha confidence interval

Details

confidence

Value

estimate of absolute risk reduction ARR, number needed to treat NNT and 1-alpha confidence intervals


biostat-ipri/NNT documentation built on Feb. 14, 2020, 12:35 a.m.