dgammaIDD | R Documentation |
IDD transmissibility curve using the gamma PDF
dgammaIDD(x, params, getParams = F)
x |
A vector ranging from 1 to the maximum length of the infectious period. |
params |
A list giving parameter values for the shape and rate of the gamma PDF. |
getParams |
logical. Tells the function to return the parameter names. |
Gamma PDF
dgamma(x, shape = params$shape, rate = params$rate)
dgammaIDD(1:15, params = list(shape = 4, rate = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.