From 6c090022b5783587322b1b223123b9913392be68 Mon Sep 17 00:00:00 2001
From: David Smith Details
per infectious bite, \(b\) (called from \(F_b\),
as defined by an \(\cal X\) model).
The total FoI is a weighted sum of the local FoI and
-exposure to malaria while traveling, (\(T_h\)):
-$$h = (1-\delta) \; F_h(E, b) + \delta\; T_h(b,t)$$
Related: Exposure & F_foi.pois & F_foi.nb & travel_malaria
Related: Exposure & F_foi.pois & F_foi.nb & travel_eir & time_traveling
Make parameters for the no_behavior model for care seeking (do nothing)
Methods to implement imported malaria
+Methods to implement time spent traveling
Simulate travel malaria
A model for the travel FoI
Visiting
Specialized methods for travel malaria
-A model for the travel FoI
A model for the travel FoI
A model for the travel FoI
A function to set up malaria importation
A function to set up malaria importation
A function to set up malaria importation
Visiting
Specialized methods for travel malaria
+A model for the travel FoI
A function to set up the travel eir
Methods for the availability and infectiousness of a visitor population
diff --git a/man/Exposure.Rd b/man/Exposure.Rd index 99197383f..8eec0b2ab 100644 --- a/man/Exposure.Rd +++ b/man/Exposure.Rd @@ -23,5 +23,5 @@ daily entomological inoculation rate (dEIR), immunity, and exposure to malaria while traveling. } \seealso{ -Cases: \link{Exposure.xde} & \link{Exposure.dts}. Related: \link{travel_malaria} & \link{F_ar} & \link{F_foi} +Cases: \link{Exposure.xde} & \link{Exposure.dts}. Related: \link{F_ar} & \link{F_foi} } diff --git a/man/Exposure.dts.Rd b/man/Exposure.dts.Rd index 63ba5f338..e7e0294e0 100644 --- a/man/Exposure.dts.Rd +++ b/man/Exposure.dts.Rd @@ -33,5 +33,5 @@ exposure to malaria while traveling, (\eqn{T_\delta}): \deqn{\alpha = (1-\delta) \; F_\alpha(E, b) + \delta\; T_\alpha(b)} } \seealso{ -Related: \link{Exposure} & \link{F_ar.pois} & \link{F_ar.nb} & \link{travel_malaria} +Related: \link{Exposure} & \link{F_ar.pois} & \link{F_ar.nb} & \link{travel_eir} & \link{traveling} } diff --git a/man/Exposure.multiday.Rd b/man/Exposure.multiday.Rd index dce5ab5ed..c746d596b 100644 --- a/man/Exposure.multiday.Rd +++ b/man/Exposure.multiday.Rd @@ -20,6 +20,6 @@ the function modifies \strong{pars} and returns it: the computed FoI are stored This function translates seven days of daily entomological inoculation rate (dEIR) into a multiday attack rate. The daily FoI is the sum of two terms: 1) a function \link{F_foi} computes the local dFoI; -2) a function \link{travel_malaria} that computes the FoI resulting from +2) a function \link{travel_eir} and \link{traveling} exposure while traveling. } diff --git a/man/Exposure.xde.Rd b/man/Exposure.xde.Rd index 0b0887487..2af8ef143 100644 --- a/man/Exposure.xde.Rd +++ b/man/Exposure.xde.Rd @@ -27,9 +27,10 @@ a model for the probability of infection per infectious bite, \eqn{b} (called from \eqn{F_b}, as defined by an \eqn{\cal X} model). The total FoI is a weighted sum of the local FoI and -exposure to malaria while traveling, (\eqn{T_h}): -\deqn{h = (1-\delta) \; F_h(E, b) + \delta\; T_h(b,t)} +exposure to malaria while traveling, +computed from the the travel EIR, \eqn{E_T}: +\deqn{h = (1-\delta) \; F_h(E, b) + \delta\; F_h(E_T, b,t)} } \seealso{ -Related: \link{Exposure} & \link{F_foi.pois} & \link{F_foi.nb} & \link{travel_malaria} +Related: \link{Exposure} & \link{F_foi.pois} & \link{F_foi.nb} & \link{travel_eir} & \link{traveling} } diff --git a/man/make_xds_template.Rd b/man/make_xds_template.Rd index dfa32061c..3e9ebb66e 100644 --- a/man/make_xds_template.Rd +++ b/man/make_xds_template.Rd @@ -85,7 +85,7 @@ Finally, the function sets up a few other miscellaneous options: and malaria importation through travel: \itemize{ \item \link{setup_exposure_pois} sets up a Poisson model for environmental heterogeneity -\item \link{setup_travel_static} sets up a model with no exposure through travel +\item \link{setup_no_travel} sets up a model with no exposure through travel } } } diff --git a/man/setup_travel_static.Rd b/man/setup_dynamic_travel.Rd similarity index 64% rename from man/setup_travel_static.Rd rename to man/setup_dynamic_travel.Rd index 43ca99ede..62c4523d5 100644 --- a/man/setup_travel_static.Rd +++ b/man/setup_dynamic_travel.Rd @@ -1,13 +1,12 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/travel_malaria.R -\name{setup_travel_static} -\alias{setup_travel_static} +% Please edit documentation in R/traveling.R +\name{setup_dynamic_travel} +\alias{setup_dynamic_travel} \title{A function to set up malaria importation} \usage{ -setup_travel_static( +setup_dynamic_travel( pars, - time_traveling = 0, - delta = 0, + traveling = 0, F_season = F_flat, F_trend = F_flat, i = 1 @@ -16,9 +15,7 @@ setup_travel_static( \arguments{ \item{pars}{a \link{list}} -\item{time_traveling}{the time spent traveling} - -\item{delta}{the travel FoI} +\item{traveling}{the time spent traveling} \item{F_season}{a function describing a seasonal pattern} diff --git a/man/setup_no_travel.Rd b/man/setup_no_travel.Rd new file mode 100644 index 000000000..61ca20500 --- /dev/null +++ b/man/setup_no_travel.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/traveling.R +\name{setup_no_travel} +\alias{setup_no_travel} +\title{A function to set up malaria importation} +\usage{ +setup_no_travel(pars, i = 1) +} +\arguments{ +\item{pars}{a \link{list}} + +\item{i}{the host species index} +} +\value{ +a \link{list} +} +\description{ +Setup a static model for travel malaria +} diff --git a/man/setup_static_travel.Rd b/man/setup_static_travel.Rd new file mode 100644 index 000000000..db35fedbc --- /dev/null +++ b/man/setup_static_travel.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/traveling.R +\name{setup_static_travel} +\alias{setup_static_travel} +\title{A function to set up malaria importation} +\usage{ +setup_static_travel(pars, traveling_fraction = 0, i = 1) +} +\arguments{ +\item{pars}{an \strong{\code{xds}} object} + +\item{traveling_fraction}{the fraction of time spent traveling} + +\item{i}{the host species index} +} +\value{ +a \link{list} +} +\description{ +Setup a static model for travel malaria +} diff --git a/man/setup_travel_eir.Rd b/man/setup_travel_eir.Rd new file mode 100644 index 000000000..898ee4bb4 --- /dev/null +++ b/man/setup_travel_eir.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/travel_eir.R +\name{setup_travel_eir} +\alias{setup_travel_eir} +\title{Setup Travel EIR} +\usage{ +setup_travel_eir( + pars, + travelEIR = 0, + F_season = F_flat, + F_trend = F_flat, + i = 1 +) +} +\arguments{ +\item{pars}{a \link{list}} + +\item{travelEIR}{the time spent traveling} + +\item{F_season}{a function describing a seasonal pattern} + +\item{F_trend}{a function describing a trend} + +\item{i}{the host species index} +} +\value{ +an \strong{\code{xds}} object +} +\description{ +Set up a function to compute the travel EIR +} diff --git a/man/setup_travel_static.dts.Rd b/man/setup_travel_static.dts.Rd deleted file mode 100644 index 5878d53cb..000000000 --- a/man/setup_travel_static.dts.Rd +++ /dev/null @@ -1,34 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/travel_malaria.R -\name{setup_travel_static.dts} -\alias{setup_travel_static.dts} -\title{A function to set up malaria importation} -\usage{ -\method{setup_travel_static}{dts}( - pars, - time_traveling = 0, - delta = 0, - F_season = F_flat, - F_trend = F_flat, - i = 1 -) -} -\arguments{ -\item{pars}{a \link{list}} - -\item{time_traveling}{the time spent traveling} - -\item{delta}{the travel FoI} - -\item{F_season}{a function describing a seasonal pattern} - -\item{F_trend}{a function describing a trend} - -\item{i}{the host species index} -} -\value{ -a \link{list} -} -\description{ -Setup a static model for travel malaria -} diff --git a/man/setup_travel_static.xde.Rd b/man/setup_travel_static.xde.Rd deleted file mode 100644 index af579f5a4..000000000 --- a/man/setup_travel_static.xde.Rd +++ /dev/null @@ -1,34 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/travel_malaria.R -\name{setup_travel_static.xde} -\alias{setup_travel_static.xde} -\title{A function to set up malaria importation} -\usage{ -\method{setup_travel_static}{xde}( - pars, - time_traveling = 0, - delta = 0, - F_season = F_flat, - F_trend = F_flat, - i = 1 -) -} -\arguments{ -\item{pars}{a \link{list}} - -\item{time_traveling}{the time spent traveling} - -\item{delta}{the travel FoI} - -\item{F_season}{a function describing a seasonal pattern} - -\item{F_trend}{a function describing a trend} - -\item{i}{the host species index} -} -\value{ -a \link{list} -} -\description{ -Setup a static model for travel malaria -} diff --git a/man/travel_eir.Rd b/man/travel_eir.Rd new file mode 100644 index 000000000..38bcf29f9 --- /dev/null +++ b/man/travel_eir.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/travel_eir.R +\name{travel_eir} +\alias{travel_eir} +\title{Travel EIR} +\usage{ +travel_eir(t, pars, i) +} +\arguments{ +\item{t}{the time} + +\item{pars}{an \strong{\code{xds}} object} + +\item{i}{the host species index} +} +\value{ +the daily travel EIR, a \link{numeric} vector +} +\description{ +Compute the EIR while traveling +} diff --git a/man/travel_malaria.Rd b/man/travel_malaria.Rd deleted file mode 100644 index 54b1374d5..000000000 --- a/man/travel_malaria.Rd +++ /dev/null @@ -1,19 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/travel_malaria.R -\name{travel_malaria} -\alias{travel_malaria} -\title{Simulate travel malaria} -\usage{ -travel_malaria(t, pars) -} -\arguments{ -\item{t}{current simulation time} - -\item{pars}{a \link{list}} -} -\value{ -the travel FoI, a \link{numeric} value -} -\description{ -This method dispatches on the type of \code{pars$TRAVEL}. -} diff --git a/man/travel_malaria.dts.Rd b/man/travel_malaria.dts.Rd deleted file mode 100644 index ad43e13a0..000000000 --- a/man/travel_malaria.dts.Rd +++ /dev/null @@ -1,19 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/travel_malaria.R -\name{travel_malaria.dts} -\alias{travel_malaria.dts} -\title{A model for the travel FoI} -\usage{ -\method{travel_malaria}{dts}(t, pars) -} -\arguments{ -\item{t}{current simulation time} - -\item{pars}{a \link{list}} -} -\value{ -a \link{numeric} -} -\description{ -Implements \link{travel_malaria} through a model for the travel FoI -} diff --git a/man/travel_malaria.xde.Rd b/man/travel_malaria.xde.Rd deleted file mode 100644 index 950084ab9..000000000 --- a/man/travel_malaria.xde.Rd +++ /dev/null @@ -1,19 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/travel_malaria.R -\name{travel_malaria.xde} -\alias{travel_malaria.xde} -\title{A model for the travel FoI} -\usage{ -\method{travel_malaria}{xde}(t, pars) -} -\arguments{ -\item{t}{current simulation time} - -\item{pars}{a \link{list}} -} -\value{ -a \link{numeric} -} -\description{ -Implements \link{travel_malaria} through a model for the travel FoI -} diff --git a/man/traveling.Rd b/man/traveling.Rd new file mode 100644 index 000000000..c4da16ec1 --- /dev/null +++ b/man/traveling.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/traveling.R +\name{traveling} +\alias{traveling} +\title{A model for the travel FoI} +\usage{ +traveling(t, pars, i) +} +\arguments{ +\item{t}{current simulation time} + +\item{pars}{a \link{list}#} + +\item{i}{host species index} +} +\value{ +an \strong{\code{xds}} object +} +\description{ +Implements \link{traveling}. The function is +called by \link{make_TaR} to set the fraction of time spent +traveling +} diff --git a/man/traveling.dynamic.Rd b/man/traveling.dynamic.Rd new file mode 100644 index 000000000..c53a72407 --- /dev/null +++ b/man/traveling.dynamic.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/traveling.R +\name{traveling.dynamic} +\alias{traveling.dynamic} +\title{A model for the travel FoI} +\usage{ +\method{traveling}{dynamic}(t, pars, i) +} +\arguments{ +\item{t}{current simulation time} + +\item{pars}{a \link{list}#} + +\item{i}{host species index} +} +\value{ +an \strong{\code{xds}} object +} +\description{ +Implements \link{traveling} through a model for the travel FoI +} diff --git a/man/traveling.setup.Rd b/man/traveling.setup.Rd new file mode 100644 index 000000000..180c96bb4 --- /dev/null +++ b/man/traveling.setup.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/traveling.R +\name{traveling.setup} +\alias{traveling.setup} +\title{A model for the travel FoI} +\usage{ +\method{traveling}{setup}(t, pars, i) +} +\arguments{ +\item{t}{current simulation time} + +\item{pars}{a \link{list}#} + +\item{i}{host species index} +} +\value{ +an \strong{\code{xds}} object +} +\description{ +Implements \link{traveling} through a model for the travel FoI +} diff --git a/man/traveling.static.Rd b/man/traveling.static.Rd new file mode 100644 index 000000000..54a0e6bae --- /dev/null +++ b/man/traveling.static.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/traveling.R +\name{traveling.static} +\alias{traveling.static} +\title{A model for the travel FoI} +\usage{ +\method{traveling}{static}(t, pars, i) +} +\arguments{ +\item{t}{current simulation time} + +\item{pars}{a \link{list}#} + +\item{i}{host species index} +} +\value{ +an \strong{\code{xds}} object +} +\description{ +Implements \link{traveling} through a model for the travel FoI +}