Build a Model for a single Human / Host Epidemiology forced by the EIR
Source:R/xds_setup.R
xds_setup_eir.RdA modified version of xds_setup to setup up studies of malaria epidemiology, defined in a narrow sense, to examine patterns in populations forced by the EIR.
The xds object defines frame = class(frame) = 'eir'
to dispatch xde_derivatives.eir or dts_update.eir
The interface includes options to configure a function
describing F_eir as a function of time, with seasonal components
and a trend.
This can be used to model a cohort as it ages; a function is set up to modify exposure by age.
Usage
xds_setup_eir(
eir = 1,
season_par = makepar_F_one(),
trend_par = makepar_F_one(),
age_par = makepar_F_one(),
shock_par = makepar_F_one(),
xds = "ode",
Xname = "SIS",
XHoptions = list(),
HPop = 1000,
searchB = 1,
model_name = "unnamed"
)Arguments
- eir
is the entomological inoculation rate
- season_par
parameters to configure a seasonality function using make_function
- trend_par
parameters to configure a trends function using make_function
- age_par
parameters to configure an age weights function using make_function
- shock_par
parameters to configure a shock using make_function
- xds
is
odeorddeordtsfor ordinary OR delay differential OR difference equations- Xname
is a character string specifying an X Component module
- XHoptions
a list to configure the X Component module
- HPop
is the number of humans in each stratum
- searchB
is a vector of search weights for blood feeding
- model_name
is a name for the model (arbitrary)