View source: R/get_dqc_equilibrium.R
get_dqc_equilibrium_base | R Documentation |
This low-level function iterates through the initial DQC vector until an equilibrium is reached at a given tolerance.
get_dqc_equilibrium_base(init, infect, detect, tolerance = 1e-04, burn_in = 10)
init |
Initial values for DQC compartments. All elements of this vector should sum to 1. |
infect |
Matrix. The infection matrix. |
detect |
Matrix. The detection matrix. |
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. |
The proportions at equilibrium.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.