This function calculates the target statistics for the formation
and dissolution models estimated in netest
.
1 2 | make_nw_het(n = 10000, meandeg = 0.8, prop.male = 0.5,
start.prev = 0.05, part.dur = 1000, time.unit = 7)
|
n |
Population size. |
meandeg |
Mean degree. |
prop.male |
Percent of the population that is male. |
start.prev |
Starting HIV prevalence in the population. |
part.dur |
Mean duration of partnerships. |
time.unit |
Time unit used, relative to days. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.