init: initialize module

Description Usage Arguments Value

View source: R/initialize.R

Description

These scripts contain the functions that set the initial conditions for the models.

Usage

1
init(i.prev.male = 1, i.prev.feml = 1, max.inf.time = 5 * 365, n = 1000, ...)

Arguments

i.prev.male

prevalence of the infection in males [default = 1]

i.prev.feml

prevalence of the infection in females [default = 1]

max.inf.time

oldest infection considered in the simulation

n

number of patients in the simulated cohort

Value

: This function returns (1) the p object with additional parameters (2) the dat object with initial male, active,facility, age, and entTime attributes (3) the dat object with initial status (4) the dat object with initial ageInf (5) the dat object with initial dxStatus and dxTime (6) the dat object with initial txCD4min, txCD4start, and txType


grlurton/ImpactSimul documentation built on March 8, 2021, 12:05 a.m.