An SIR model is a simple compartmental model.
In odin
code, the deriv
function indicates that something is a variable and that we will work with derivatives of that variable with respect to time:
deriv(S) <- ...
deriv(I) <- ...
deriv(R) <- ...
...and so on
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.