View source: R/General_Epidemic_Simulation.R
States should be ordered in such a way which follows the flow of the epidemic.
1 2 3 4 5 6 7 | General_Epidemic_Process(
parameters,
no_states,
state_names,
rate_structure,
initial_population
)
|
Therefore the rate structure should be ordered in the same way
SIR Example:
State 1 —> S, State 2 —> I, State 3 —> R
1 —> 2, Beta Parameters
2 —> 3, Gamma Parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.