init_het: Initial Conditions for Stochastic Network Model of HIV-1...

Description Usage Arguments Details

View source: R/params.R

Description

This function sets the initial conditions for the stochastic network models in the epimethods package.

Usage

1
2
3
init_het(i.prev.male = 0.05, i.prev.feml = 0.05, ages.male = seq(18,
  55, 7/365), ages.feml = seq(18, 55, 7/365),
  inf.time.dist = "geometric", max.inf.time = 5 * 365, ...)

Arguments

i.prev.male

Prevalence of initially infected males.

i.prev.feml

Prevalence of initially infected females.

ages.male

initial ages of males in the population.

ages.feml

initial ages of females in the population.

inf.time.dist

Probability distribution for setting time of infection for nodes infected at T1, with options of "geometric" for randomly distributed on a geometric distribution with a probability of the reciprocal of the average length of infection, "uniform" for a uniformly distributed time over that same interval, or "allacute" for placing all infections in the acute stage at the start.

max.inf.time

Maximum infection time in days for infection at initialization, used when inf.time.dist is "geometric" or "uniform".

...

additional arguments to be passed into model.

Details

This function sets the initial conditions for the models.


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