View source: R/population_growth.R
create.birth.proportions.from.population | R Documentation |
Creates a birth proportions array with the marginals of sex by race drawn from the population. The returned value is valid as birth proportions for either HIV-negative or for uninfected births to HIV-positive
create.birth.proportions.from.population( jheem, population, risk.born.into.state = 1, non.hiv.subset.born.into.state = 1 )
jheem |
A JHEEM object |
population |
The population based on which to determine sex distribution by race. Must have at least a dimension for sex |
Assumes that children are born into the same subpopulation as their parents, that all children are born into the first risk state (unless otherwise specified) and the first non.hiv.subset (unless otherwise specified), and that distributions of sex by race are determined by the marginals on the given population
Other functions to create birth proportions arrays:
create.birth.proportions.hiv.negative()
,
create.birth.proportions.hiv.positive.to.negative()
,
create.birth.proportions.hiv.positive.to.positive()
,
get.birth.proportions.to.hiv.negative.skeleton()
Other functions to specify births in the population:
create.birth.proportions.hiv.negative()
,
create.birth.proportions.hiv.positive.to.negative()
,
create.birth.proportions.hiv.positive.to.positive()
,
get.birth.proportions.to.hiv.negative.skeleton()
,
set.birth.proportions.hiv.negative()
,
set.birth.proportions.hiv.positive()
,
set.birth.proportions.no.maternal.transmission()
,
set.fertility.hiv.negative()
,
set.fertility.hiv.positive()
,
set.fertility()
,
set.immigration.proportions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.