Skip to contents

Set up a model for xde_diffeqn

Usage

xde_setup(
  modelName = "unnamed",
  MYZname = "RM",
  Xname = "SIS",
  Lname = "trace",
  nPatches = 1,
  nVectors = 1,
  nHosts = 1,
  HPop = 1000,
  membership = 1,
  MYZopts = list(),
  calK = "herethere",
  calKopts = list(),
  EIPname = "static",
  EIPopts = list(),
  Xopts = list(),
  BFopts = list(),
  residence = 1,
  searchB = 1,
  F_circadian = NULL,
  TimeSpent = "athome",
  TimeSpentOpts = list(),
  searchQ = 1,
  Lopts = list()
)

Arguments

modelName

is a name for the model (arbitrary)

MYZname

is a character string defining a MYZ model

Xname

is a character string defining a X model

Lname

is a character string defining a L model

nPatches

is the number of patches

nVectors

is the number of vector species

nHosts

is the number of vertebrate host species

HPop

is the number of humans in each patch

membership

is a vector that describes the patch where each aquatic habitat is found

MYZopts

a list to configure the MYZ model

calK

is either a calK matrix or a string that defines how to set it up

calKopts

are the options to setup calK

EIPname

are the options to setup EIPmod

EIPopts

are the options to setup EIPmod

Xopts

a list to configure the X model

BFopts

a list to configure the blood feeding model

residence

is a vector that describes the patch where each human stratum lives

searchB

is a vector of search weights for blood feeding

F_circadian

is a function describing mosquito daily activity

TimeSpent

is either a TimeSpent matrix or a string to call a function that sets it up

TimeSpentOpts

are the options to setup TimeSpent

searchQ

is a vector of search weights for egg laying

Lopts

a list to configure the L model

Value

a list