nAnimalVec
:
Object of class "numeric"
(nonnegative). Vector containing the
number of animals per holding.
riskGroupVec
:
Object of class "character"
. Vector containing the
the name of a risk group to which the farm belongs. Optional argument.
If provided, it must have the same length as nAnimalVec
.
riskValueData
:
Object of class "data.frame"
. Data frame
where the first column contains the labels in riskGroupVec
and
the second column contains the numeric values for the relative infection risk.
populationData
:
Object of class "data.frame"
. Columns of the data frame
must have the same length as the vector in slot nAnimalVec
. The data frame can
contain additional data such as herd id, name and address of the owner etc.
designPrevalence
:
Object of class "numeric"
with values between 0 and 1.
Prevalence of the disease under the null hypothesis.
alpha
:
Object of class "numeric"
with values between 0 and 1.
Type one error for the statistical test (significance level).
intraHerdPrevalence
:
Object of class "numeric"
with values between 0 and 1.
Intra-herd prevalence, i.e., the assumed prevalence of the disease within an infected herd.
diagSensitivity
:
Object of class "numeric"
with values between 0 and 1.
Sensitivity of the diagnostic test used.
costHerd
:
Object of class "numeric"
. Cost per tested herd excluding costs for
sampling of animals (e.g., travel costs of the vet.)
costAnimal
:
Object of class "numeric"
. Cost per tested animal, e.g., drawing
of samples + analysis in the lab.