View source: R/population_growth.R
set.keep.strata.sizes.constant | R Documentation |
Sets whether to keep population strata sizes constant for a given time
set.keep.strata.sizes.constant(jheem, fix.strata.sizes, time = -Inf)
jheem |
An object of |
fix.strata.sizes |
A boolean indicated whether to use fixed strata sizes |
time |
The time following which the setting applies |
Fixing strata sizes allows the JHEEM to adjust rates of change such that the overall size of the population within strata stays constant. The strata may be defined by any subset of the five dimensions shared by both HIV-negative and HIV-positive subpopulations: <age, race, subpopulation, sex, risk>.
Note that two separate functions must be called to use this ability: set.fixed.size.strata
to indicte which dimensions define fixed strata and set.keep.strata.sizes.constant
to actually indicate at what time to fix strata this way
Other functions to fix population strata sizes:
set.fixed.population.size()
,
set.fixed.population.strata()
,
set.fixed.size.strata()
,
set.use.fixed.population()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.