Module function for setting the number of sexual acts on the discordant edgelist.
Master data list object of class
Current time step.
The number of acts at each time step is specified as a function of the race of both members in a pair and whether the relationship is male male or heterosexual. Rates are averages of the reported rates by each race. For one-off partnerships, this is deterministically set at 1, whereas for main and causal partnerships it is a stochastic draw from a Poisson distribution. The number of total acts may further be modified by the level of HIV viral suppression in an infected person.
This function returns the
dat object with the updated discordant act
dal). Each element of
dal is a data frame with the ids of the
discordant pair repeated the number of times they have AI.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.