position_msm: Position Module

Description Usage Arguments Details Value

View source: R/mod.position.R

Description

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

Usage

1
position_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 sexual role within each act is determined by each nodes "role identity" as exclusively receptive, exclusively insertive, or versatile. This function determines whether the infected or the susceptible partner is the insertive partner for that act. For the first two role identity types, that is deterministic based on identity. For 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.


statnet/EpiModelHIVmsm documentation built on Aug. 28, 2020, 11:07 p.m.