View source: R/population_growth.R
set.fixed.population.size | R Documentation |
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
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 )
jheem |
An object of |
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 |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.