compute_weight_matrix | R Documentation |
Wrapper function to select appropriate method to calculate weight matrix.
compute_weight_matrix( likelihoods, simulated_prevalence, amis_params, first_weight )
likelihoods |
An array with dimension n_tims,n_locs,n_sims – ie timepoints x locations x simulations. |
simulated_prevalence |
An n_sims x n_tims matrix containing the simulated prevalence values for each of the parameter samples. (double) |
amis_params |
A list of parameters, e.g. from |
first_weight |
A vector containing the values for the right hand side of
the weight expression. Should be of the same length as the rows in |
normalised weight matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.