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)flexmodel object
name of a single parameter to represent the total size of the population -- over all compartments
name of a single parameter to represent the initial total size of the infected population -- over all infected compartments
updated flexmodel object
In the future we might want the ability to specify a distribution across susceptible compartments -- currently a uniform distribution is assumed..
Other flexmodel_definition_functions:
add_factr(),
add_linearized_outflow(),
add_parallel_accumulators(),
add_rate(),
add_state_mappings(),
add_state_param_sum(),
mat_rate(),
rep_rate(),
update_disease_free_state(),
update_linearized_params(),
update_tmb_indices(),
vec_rate()