View source: R/get_dqc_stoch.R
get_intermediate_inf | R Documentation |
This low-level function stochastically derives the intermediate infections derived from a DQC matrix in one generation
get_intermediate_inf(dqc, infect, n_inf = 1000, theta = 0.2)
dqc |
Current values for DQC compartments. All elements of this vector should sum to 1. |
infect |
INFECT matrix returned by |
n_inf |
Number of infections (or effective population size of infected individuals). Default 1000. |
theta |
Non-negative numeric value. Shape parameter for overdispersion in R. Default 0.2. |
Vector of intermediate infection states
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.