R/NPV.R

Defines functions NPV

Documented in NPV

NPV <- function(sens, spec, prev) return(((1 - prev) * 
    spec)/((1 - sens) * prev + spec * (1 - prev)))

Try the evidence package in your browser

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

evidence documentation built on May 2, 2019, 2:14 p.m.