set.new.infection.proportions: Sets the proportions into which new infections from strata of...

View source: R/transmission.R

set.new.infection.proportionsR Documentation

Sets the proportions into which new infections from strata of age x race x subpopulation x sex x risk are distributed

Description

Sets the proportions into which new infections from strata of age x race x subpopulation x sex x risk are distributed

Usage

set.new.infection.proportions(jheem, proportions, time = -Inf)

Arguments

jheem

An object of jheem-class

proportions

An contact array, with some subset of dimensions: [age.from, race.from, subpopulation.from, sex.from, risk.from, age.to, race.to, subpopulation.to, sex.to, risk.to, non.hiv.subset.to]. from->to follows the direction of HIV transmission

time

The time at which these susceptibilities apply, if time-varying

Details

A new infection proportions array should have dimensions [age, race, subpopulation, sex, risk, non.hiv.subset, continuum, cd4, hiv.subset]. For each combination of age x race x subpopulation x sex x risk x non.hiv.subset, proportions[age,race,subpopulation,sex,risk,non.hiv.subset,,,] should sum to 1 and represent the proportions according to which new infections from the age x race x subpopulation x sex x risk x non.hiv.subset are distributed across strata of continuum x cd4 x hiv.subset

See Also

Other functions handling new infection proportions: get.new.infection.proportions.skeleton(), get.uniform.new.infection.proportions()

Other functions to specify transmission: set.global.transmission.rate(), set.susceptibility(), set.transmissibility(), set.transmission.contact.array()


tfojo1/jheem documentation built on Oct. 7, 2022, 1:24 p.m.