inst/examples/sir.md

A simple SIR model

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



mrc-ide/odin.ui documentation built on Oct. 28, 2020, 12:17 p.m.