View source: R/pFinalSizeAndGen.R
pFinalSizeAndGen | R Documentation |
Joint probability of outbreak final size and number of transmission generations
pFinalSizeAndGen(g, n, j, R, k)
g |
Number of generations. |
n |
Number of initial cases |
j |
Final size |
R |
Reproduction number |
k |
Dispersion parameter |
The joint probability of the final outbreak size and number of transmission generations
Damon Toth
# Probability that 1 initial infection leads to an outbreak of final size 20 over exactly
# 3 generations of transmission:
pFinalSizeAndGen(g=3,n=1,j=20,R=0.8,k=0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.