compute_likelihood | R Documentation |
Calls evaluate likelihood for each timepoint.
compute_likelihood( prevalence_map, simulated_prevalences, amis_params, likelihoods = NULL )
prevalence_map |
A list with one entry for each timepoint.
Each entry must be a list containing objects |
amis_params |
A list of parameters, e.g. from |
likelihoods |
An array with dimension n_tims,n_locs,n_sims – ie timepoints x locations x simulations (optional). |
An |
n x timepoints matrix of prevalences simulated from the transmission model. |
A larger array with the likelihoods of the new simulations joined to the existing array likelihoods
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.