sample_chains | R Documentation |
Sample chains to produce valid parameter solution space
sample_chains( n_iter, r1, r2, xmin_pi = 0, xmax_pi = 1, xmin_2 = 0, xmax_2 = 1, alpha = FALSE, gamma = FALSE )
n_iter |
Number of iterations |
r1 |
Ratio of cases not under surveillance (but contact traced) versus the cases under surveillance |
r2 |
Ratio of de novo cases verses detected cases under surveillance |
xmin_pi |
Minimum value of uniform parameter scaling |
xmax_pi |
Maximum value of uniform parameter scaling |
xmin_2 |
Minimum value of uniform parameter scaling |
xmax_2 |
Maximum value of uniform parameter scaling |
alpha |
Flag for if want to sample alpha or phi |
gamma |
Flag for if want to gamma alpha or pi |
List of parameter chains
sample_chains(10, 0.5, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.