infected is the multiplier of the normalized infected components of the eigenvector. total - infected is multiplied by 1/length(initial_susceptible)

initial_population(model, total, infected)

Arguments

model

flexmodel object

total

name of a single parameter to represent the total size of the population -- over all compartments

infected

name of a single parameter to represent the initial total size of the infected population -- over all infected compartments

Value

updated flexmodel object

Details

In the future we might want the ability to specify a distribution across susceptible compartments -- currently a uniform distribution is assumed..