disc.prior: Discounted prior probability of freedom
Description
Calculates the discounted prior probability of disease freedom,
after adjusting for the probability of disease exceeding the
design prevalence during the time period of the surveillance data being analysed
Usage
disc.prior(prior, p.intro)
Arguments
prior
prior probability of freedom before surveillance
p.intro
probability of introduction
(or of prevalence exceeding the design prevalence) during the time period
(scalar or vector equal length to prior)
Value
vector of discounted prior probabilities of freedom