View source: R/population_growth.R
set.immigration.rates | R Documentation |
Sets immigration rates
set.immigration.rates(jheem, immigration.rates, is.relative = T, time = -Inf)
jheem |
A JHEEM object |
immigration.rates |
An array of immigration rates, whose dimensions are a subset of [age, race, subpopulation, sex, risk]. |
is.relative |
If true, the rates are interpreted as per person per year. If false, they are interpreted as absolute numbers |
time |
The time at which these immigration rates apply, if time-varying |
Immigration rates are interpreted similarly to birth rates: they are used to calculate the total number of immigrants, which are then distributed through either the HIV-negative or HIV-positive populations according to separately set proportions (set using set.immigration.proportions
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.