set.keep.strata.sizes.constant: Sets whether to keep population strata sizes constant for a...

View source: R/population_growth.R

set.keep.strata.sizes.constantR Documentation

Sets whether to keep population strata sizes constant for a given time

Description

Sets whether to keep population strata sizes constant for a given time

Usage

set.keep.strata.sizes.constant(jheem, fix.strata.sizes, time = -Inf)

Arguments

jheem

An object of jheem-class

fix.strata.sizes

A boolean indicated whether to use fixed strata sizes

time

The time following which the setting applies

Details

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

See Also

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


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