agemix_campcl: Track age mixing

Description Usage Arguments Details Value

Description

Module function for tracking age on the edgelist.

Usage

1
agemix_campcl(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 function is a diagnostic tool to determine the age mixing matrix for adult MSM and ASMM.

Value

This function returns the dat object with the updated edge list (el.age). Each element of el.age is a data frame with the ids of all active pairs with their respective ages.


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