Description Usage Arguments Value
Run a pair-based likelihood approximation for a multitype stochastic epidemic model. Multitypes available via mapping assignments. Compatible with pbla_std
, pbla_ed
, pbla_sep
, and pbla_f
.
1 | pbla_multi(rates, R, pbla, betamap, gammamap, r, etc = NULL)
|
rates |
numeric vector of rates |
R |
integer index to split rates on |
pbla |
function |
betamap |
matrix of assignments |
gammamap |
vector of assignments |
r |
numeric vector of increasing removal times |
etc |
other parameters to pass (e.g. lag) |
negative log likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.