Produce gamma-distributed rates for each person, with a chosen mean value of Poisson process parameterized by gamma rates, and selected shape (controls variance). This function calls rgamma to sample random numbers.
gammaRates(N, mean = 5, shape = 10)
| N | number of humans |
|---|---|
| mean | mean value |
| shape | controls variance in gamma distributed rates; larger values produce distributions with lower variance. |
distribution of biting rates