Description Usage Arguments Details
get_inf
selects number
random values for the infectious period
from a Gamma distribution with the specified shape and rate parameters.
1 | get_inf(number, shape, rate)
|
number |
The number of random number draws to be made (integer). |
shape |
The shape parameter of the Gamma distribution to draw from (numeric). |
rate |
The rate parameter of the Gamma distribution to draw from (numeric). |
Currently, get_inf
is a wrapper for the rgamma
function from
the stats
package. The intent is to implement this more generically in
the future to allow use of distributions other than Gamma.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.