powered by
Calculates the population sensitivity required to achieve a given value for the prior (discounted) probability of disease freedom
sep.prior(prior, p.intro)
prior probability of freedom before surveillance (scalar or vector)
probability of introduction for time period (scalar or vector equal length to sep)
a vector of population-level sensitivities
# NOT RUN { # examples of sep.prior sep.prior(0.95, 0.01) sep.prior(c(0.9, 0.95, 0.98, 0.99), 0.01) sep.prior(0.95, c(0.001, 0.005, 0.01, 0.02, 0.05)) # }
Run the code above in your browser using DataLab