Make inits for Garki human model. Note that the variables should sum up to H, so the initial value of x1 is not set. The values are passed in the same order as they are presented in the original paper.
Source:R/Xmod-garki.R
make_Xinits_garki.Rd
Make inits for Garki human model. Note that the variables should sum up to H, so the initial value of x1 is not set. The values are passed in the same order as they are presented in the original paper.
Usage
make_Xinits_garki(
nStrata,
Xopts = list(),
H0 = NULL,
x1 = NULL,
x2 = 0,
y1 = 0,
y2 = 0,
y3 = 0,
x3 = 0,
x4 = 0
)
Arguments
- nStrata
is the number of population strata
- Xopts
a list with values to override default values
- H0
a numeric initial value for total human population density
- x1
a numeric initial value for the variable x1
- x2
a numeric initial value for the variable x2
- y1
a numeric initial value for the variable y1
- y2
a numeric initial value for the variable y2
- y3
a numeric initial value for the variable y3
- x3
a numeric initial value for the variable x3
- x4
a numeric initial value for the variable x4