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


gilles-guillot/NNT documentation built on Feb. 4, 2020, 12:33 a.m.