Skip to contents

A 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 = list(),
  F_season = F_flat,
  trend_par = list(),
  F_trend = F_flat,
  age_par = list(),
  F_age = F_flat,
  shock_par = list(),
  F_shock = F_flat,
  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

F_season

a function describing a seasonal pattern over time

trend_par

parameters to configure a trends function using make_function

F_trend

a function describing a temporal trend over time

age_par

parameters to configure an age weights function using make_function

F_age

a assigning a biting weight by age

shock_par

parameters to configure a shock using make_function

F_shock

a function describing a shock

xds

is ode or dde or dts for 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)

Value

an xds object

See also