View source: R/get_dqc_stoch.R
get_dqc_stoch | R Documentation |
This function iterates through the Detected-Quarantine-Community (DQC) vector stochastically for a set number of generations.
get_dqc_stoch( init = c(Ds = 0, Da = 0, Qcds = 0, Qhds = 0, Qcda = 0, Qhda = 0, Qq = 0, Cs = 0.8, Ca = 0.2), n_generation = 10, ... )
init |
Named vector of initial values indicating proportion infected in
each detected-community-quarantine category. All elements of the vector
must sum to 1. Must include the names:
|
n_generation |
Numeric positive value. Number of iterations to run. Default: 10. |
... |
Optional parameters to pass to |
A named vector, the Detected-Quarantine-Community proportions after some number of generations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.