R/zsep.binom.R

Defines functions zsep.binom

zsep.binom <- function(n, pstar, se = 1, sp = 1) {
    sep <- 1 - (1 - (se * pstar + (1 - sp) * (1 - pstar)))^n
    return(sep)
}

Try the epiR package in your browser

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

epiR documentation built on Nov. 20, 2023, 9:06 a.m.