Description Usage Arguments Value
Get the irm keys for the compartment counts in a population level bookkeeping matrix
1 2 | populationLikelihood(pop_mat, irm, initdist, initdist_param_inds,
flow_inds, keys, inds, loglik)
|
pop_mat |
population level bookkeeping matrix |
irm |
array of rate matrices |
initdist |
vector of initial state probabilities |
initdist_param_inds |
vector of indices for admissible initial states |
flow_inds |
matrix of indices for locations in IRM for each event |
keys |
vector of irm keys |
inds |
indices relating to event times, along with t0 and tmax |
loglik |
boolean indicating whether to return the likelihood or log-likelihood |
population level likelihood or log-likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.