position_shamp: Position Module for msm and heterosexual contacts.

Description Usage Arguments Details Value

Description

Module function for establishing sexual role or position in each act on the discordant edgelist.

Usage

1
position_shamp(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 sexual role within each act is determined by each nodes "role identity" as exclusively receptive, exclusively insertive, or versatile. For heterosexual dyads the females node is always recpetive and the male is always incertive. This function determines whether the infected or the susceptible partner is the insertive partner for that act. For male-male dyads the first two role identity types, that is deterministic based on identity. For male-male versatile-versatile pairs, this is determined stochastically for each act.

Value

This function returns the updated discordant edgelist with a ins attribute for values of whether the infected node is insertive or the susceptible node is insertive for that act.


dth2/EpiModelHIV_SHAMP documentation built on May 15, 2019, 4:56 p.m.