psProbVec | R Documentation |
Get path-specific vector of removal probabilities over duration of infection
psProbVec(maxInf, dist, psParams)
maxInf |
Integer. The maximum length of time an individual can spend in the infectious compartment |
dist |
Character. Specifies the distribution used to describe the duration of the infectious period. One of 'exp', 'gamma', or 'weibull' |
psParams |
List. the parameters associated with the distribution specified. |
The path-specific vector of removal probabilities.
psProbVec(1:14, 'gamma', list(shape = 4, rate = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.