Description Usage Arguments Author(s)
Turn model output into data to be plotted by image
.
1 | discretise(res, xr = NULL, nx = 101, sample = 10)
|
res |
List of model states over time |
xr |
Range of x values (if ommited will be fit to the data) |
nx |
Number of x points to discretise over |
sample |
Thin the time axis by this amount (10 means take one point every 10 time steps). This may not be ideal where time does not proceed in even sized steps. |
Rich FitzJohn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.