set.immigration.rates: Sets immigration rates

View source: R/population_growth.R

set.immigration.ratesR Documentation

Sets immigration rates

Description

Sets immigration rates

Usage

set.immigration.rates(jheem, immigration.rates, is.relative = T, time = -Inf)

Arguments

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

Details

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)


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