get.new.infection.proportions.skeleton: Get a skeleton new infection proportions array

View source: R/transmission.R

get.new.infection.proportions.skeletonR Documentation

Get a skeleton new infection proportions array

Description

Gets an array, with all values set to value, with dimensions and names corresponding to the new infection proportions array: [age, race, subpopulation, sex, risk, non.hiv.subset, continuum, cd4, hiv.subset]

Usage

get.new.infection.proportions.skeleton(jheem, value = 0)

Arguments

jheem

An object of jheem-class

value

The value to fill the array with.

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.uniform.new.infection.proportions(), set.new.infection.proportions()


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