Description Usage Arguments Note Author(s)
These functions simulate age-dependent slaughter of pigs. The default function is slaughter_nbinom
.
1 2 | slaughter_binom(age, min, max, p)
slaughter_nbinom(age, min, max, size, mu)
|
age |
Age of the pigs. |
min |
Minimum age at slaughter, i.e., Pr(slaughter<min)=0. |
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. |
For more details and examples, please visit the cystiSim Wiki pages on https://github.com/brechtdv/cystiSim/wiki.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.