xDE_diffeqn: Generalized spatial differential equation model

View source: R/diffeqn.R

xDE_diffeqnR Documentation

Generalized spatial differential equation model

Description

Compute derivatives for deSolve::ode or deSolve::dede using generic methods for each model component. The arguments EIR_delta and kappa_delta are for adding external forcing to the system from unmodeled sources. This can arise if humans can acquire infection by traveling outside the spatial domain, and arises for mosquitoes if traveling outside the spatial domain or are being infected by unmodeled (non-human) sources. By default these are set to NULL and are turned off.

Usage

xDE_diffeqn(t, y, pars, EIR_delta = NULL, kappa_delta = NULL)

Arguments

t

current simulation time

y

state vector

pars

an environment

EIR_delta

a vector of values to be added to the internal EIR

kappa_delta

a vector of values to be added to the internal kappa

Value

a list containing the vector of all state derivatives


exDE documentation built on Nov. 18, 2022, 5:08 p.m.