Set up a model for xde_diffeqn_cohort
Usage
xde_setup_cohort(
F_eir,
bday = 0,
scale = 1,
modelName = "unnamed",
Xname = "SIS",
HPop = 1000,
searchB = 1,
Xopts = list()
)
Arguments
- F_eir
is a function F_eir(t, pars) that returns the daily FoI
- bday
the birthday of a cohort
- scale
the birthday of a cohort
- modelName
is a name for the model (arbitrary)
- Xname
is a character string defining a X model
- HPop
is the number of humans in each patch
- searchB
is a vector of search weights for blood feeding
- Xopts
a list to configure the X model
Value
a list