slaughter: Pig slaughter functions
Description
These functions simulate age-dependent slaughter of pigs. The default function is slaughter_nbinom.
Usage
slaughter_binom(age, min, max, p)
slaughter_nbinom(age, min, max, size, mu)
Arguments
min
Minimum age at slaughter, i.e., Pr(slaughter.
max
Age at which all pigs are definitely slaughtered, i.e., Pr(slaughter>=max)=1.
p
Binomial probability of slaughter.
size
Size of Negative Binomial distribution of age-specific slaughter probability.
mu
Mean of Negative Binomial distribution of age-specific slaughter probability.