arrival_msm: Arrivals Module

Description Usage Arguments Details Value

View source: R/mod.arrival.R

Description

Module function for arrivals into the sexually active population.

Usage

1
2
3
arrival_msm(dat, at)

births_het(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, stochastically determined with draws from Poisson distributions. 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 formulae 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.


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