create.birth.proportions.from.population: Create a Birth Proportions array based on sex distribution by...

View source: R/population_growth.R

create.birth.proportions.from.populationR Documentation

Create a Birth Proportions array based on sex distribution by race from a given population

Description

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

Usage

create.birth.proportions.from.population(
  jheem,
  population,
  risk.born.into.state = 1,
  non.hiv.subset.born.into.state = 1
)

Arguments

jheem

A JHEEM object

population

The population based on which to determine sex distribution by race. Must have at least a dimension for sex

Details

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

See Also

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()


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