prevalence_msm: Prevalence Calculations within Time Steps

Description Usage Arguments Details Value

View source: R/mod.prevalence.R

Description

This module calculates demographic, transmission, and clinical statistics at each time step within the simulation.

Usage

1
2
3
prevalence_msm(dat, at)

prevalence_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

Summary statistic calculations are of two broad forms: prevalence and incidence. This function establishes the summary statistic vectors for both prevalence and incidence at time 1, and then calculates the prevalence statistics for times 2 onward. Incidence statistics (e.g., number of new infections or deaths) are calculated within the modules as they depend on vectors that are not stored external to the module.

Value

This function returns the dat object with an updated summary of current attributes stored in dat$epi.


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