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 compute the daily EIR as a function of time, with seasonal components and a trend. Exposure in a cohort is a function of its age, including a function that modifies exposure by age. Models set up with xds_setup_eir are like models set up with xds_setup_cohort, but they lack a function to model exposure by age.

Usage

xds_setup_eir(
  eir = 1,
  F_season = F_flat,
  season_par = list(),
  F_trend = F_flat,
  trend_par = list(),
  xds = "ode",
  Xname = "SIS",
  Xopts = list(),
  Xday = 1,
  HPop = 1000,
  searchB = 1,
  model_name = "unnamed"
)

Arguments

eir

is the entomological inoculation rate

F_season

a function describing a seasonal pattern over time

season_par

parameters to configure a seasonality function using make_function

F_trend

a function describing a temporal trend over time

trend_par

parameters to configure a trends function using make_function

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

Xopts

a list to configure the X Component module

Xday

is the run-time time step for X Component (in days): integer or 1/integer

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