initial_population | R Documentation |
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)
model |
|
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 |
In the future we might want the ability to specify a distribution across susceptible compartments – currently a uniform distribution is assumed..
updated flexmodel
object
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.