births_shamp2: Births Module for up to 5 race groups heterosexuals and MSM...

Description Usage Arguments Details Value

Description

Module function for births or entries into the sexually active population.

Usage

1
births_shamp2(dat, at)

Arguments

dat

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

at

Current time step.

Details

New population members are added based on expected numbers of entries among all five race/immigrant groups and two sexes, stochastically determined with draws from Poisson distributions. The proportion of men who are MSM are determined by msm.frac. The proportion of men who are MSMF are determined by msmf.frac. For each new entry, a set of attributes is added for that node, and the nodes are added onto the network objects. Only attributes that are a part of the network model formula are updated as vertex attributes on the network objects.

Value

This function updates the attr list with new attributes for each new population member, and the nw objects with new vertices.


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