View source: R/get_dqc_equilibrium.R
get_dqc_equilibrium | R Documentation |
This function iterates through the Detected-Quarantine-Community (DQC) vector until an equilibrium is reached at a given tolerance.
get_dqc_equilibrium( init = c(Ds = 0, Da = 0, Qcds = 0, Qhds = 0, Qcda = 0, Qhda = 0, Qq = 0, Cs = 0.8, Ca = 0.2), tolerance = 1e-04, burn_in = 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:
|
tolerance |
Numeric value between 0 and 1. Tolerance to determine whether an equilibrium has been met. Default: 1e-4 |
burn_in |
Numeric positive value. Minimum number of iterations to run. Default: 10. |
... |
Optional parameters to pass to |
A named vector, the Detected-Quarantine-Community proportions at equilibrium.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.