Probability of y total transmission directly from x independent infected individuals
Source:R/pNextGenSize.R
pNextGenSize.Rd
Probability of y total transmission directly from x independent infected individuals
Examples
# With 5 individuals in this generation, what is the probability of
# 0 to 15 transmissions in the next generation?
pNextGenSize(x=5, y=0:15, R=0.2, k=0.1)
#> [1] 0.5773502692 0.1924500897 0.0962250449 0.0534583583 0.0311840423
#> [6] 0.0187104254 0.0114341488 0.0070782826 0.0044239266 0.0027854353
#> [11] 0.0017641090 0.0011226148 0.0007172261 0.0004597603 0.0002955602
#> [16] 0.0001904721