set.fixed.population.size: Set the population to which to fix sizes

View source: R/population_growth.R

set.fixed.population.sizeR Documentation

Set the population to which to fix sizes

Description

Must first call set.fixed.population.strata, which indicates which dimensions to fix population along. Calling set.fixed.population.size indicates what levels to fix the population to

Usage

set.fixed.population.size(
  jheem,
  hiv.negative.population = jheem$initial.state.hiv.negative,
  hiv.positive.population = jheem$initial.state.hiv.positive,
  fixed.birth.proportions = create.birth.proportions.from.population(jheem,
    hiv.negative.population),
  time = -Inf
)

Arguments

jheem

An object of jheem-class

hiv.negative.population, hiv.positive.population

Arrays representing the HIV-negative and HIV-populations to use in calculating the sizes for fixed strata

time

The time at which the fixed population is pegged

See Also

set.fixed.population.strata, set.use.fixed.population

Other functions to fix population strata sizes: set.fixed.population.strata(), set.fixed.size.strata(), set.keep.strata.sizes.constant(), set.use.fixed.population()


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