get.uniform.new.infection.proportions | R Documentation |
The return value will be a new infection proportions array such that the new infection proportions are the same across all strata of age x race x subpopulation x sex x risk x non.hiv.subset, with new infections being distributed uniformly across the specified continuum, cd4, and hiv.subset specified
get.uniform.new.infection.proportions( jheem, initial.continuum = jheem$continuum.of.care[1], initial.cd4 = jheem$cd4.strata[1], initial.hiv.subset = jheem$hiv.subsets[1] )
jheem |
An object of |
initial.continuum, initial.cd4, initial.hiv.subset |
The index (indices) or name(s) of the dimensions into which new infections are to be distributed uniformly |
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()
,
set.new.infection.proportions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.