Produces a data frame of lower 2.5
1 2 3 |
chain |
the MCMC chain to sample from |
samp_no |
the number of random samples to take from the MCMC chain |
ts |
the times over which to solve the model |
ts_obs |
times at which observations were made |
MODEL_FUNCTION |
pointer to the model solving function that takes two arguments: pars and ts. This should return a matrix of trajectories with times across columns |
nstrains |
the number of strains for which measurements are available |
ngroups |
the number of exposure groups |
calc_obs |
if TRUE, also calculates predicted observations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.