logitIDD | R Documentation |
IDD transmissibility curve using logistic decay
logitIDD(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 decay rate |
getParams |
logical. Tells the function to return the parameter names. |
1 / (1 + exp(params$rate * (x - params$mid)))
logitIDD(1:15, params = list(mid = 8, rate = 1.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.