acts_msm: Sexual Acts Module

Description Usage Arguments Details Value

Description

Module function for setting the number of sexual acts on the discordant edgelist.

Usage

1
acts_msm(dat, at)

Arguments

dat

Master data list object of class dat containing networks, individual-level attributes, and summary statistics.

at

Current time step.

Details

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.

Value

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.


statnet/PrEP-for-ASMM-and-adult-MSM documentation built on June 22, 2019, 12:45 a.m.