Description Usage Arguments Details Value
Module function for setting the number of sexual acts on the discordant edgelist.
1 | acts_msm(dat, at)
|
dat |
Master data list object of class |
at |
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 the expected values within black-black, black-white, and white-white combinations. 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
list (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.