.init_susc_pop {epichains} | R Documentation |
Adjust next generation vector to match susceptible population size
Description
Calculates the initial susceptible population size given the total population size, the percent immune, and the number of index cases. This function is used internally, and input checking is not performed here, only in the context where it is used. Using it directly is not recommended.
Usage
.init_susc_pop(pop, percent_immune, index_cases)
Arguments
pop |
Population size; An |
percent_immune |
Percent of the population immune to
infection at the start of the simulation; A |
Value
Initial susceptible population size; A numeric coercible to integer.
[Package epichains version 0.1.1 Index]