set.new.infection.proportions | R Documentation |
Sets the proportions into which new infections from strata of age x race x subpopulation x sex x risk are distributed
set.new.infection.proportions(jheem, proportions, time = -Inf)
jheem |
An object of |
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 |
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
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.