View source: R/population_growth.R
set.fixed.size.strata | R Documentation |
Sets which dimensions define strata that will have sizes kept constant
set.fixed.size.strata( jheem, fix.age = F, fix.race = F, fix.subpopulation = F, fix.sex = F, fix.risk = F )
jheem |
An object of |
fix.age, fix.race, fix.subpopulation, fix.sex, fix.risk |
Boolean values indicating whether or not these dimensions define the strata whose sizes are fixed |
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.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.