infect_fun: Probability that a feeding tick becomes engorged infected or...

Description Usage Arguments Details Value Examples

View source: R/transition_functions.R

Description

Probability that a feeding tick becomes engorged infected or uninfected

Usage

1
infect_fun(x, y, from_infected, to_infected, host_rc, pref)

Arguments

x

Predictor 1 in transitions table. Numeric vector indicating host density for each of the host species. Length should be equal to the number of host species.

y

Predictor 2 in transitions table. Not used in this function.

from_infected

Parameter from_infected in parameters table. Value should be 1 if transition is from an infected tick stage, 0 otherwise.

to_infected

Parameter to_infected in parameters table. Value should be 1 if transition is to an infected tick stage, 0 otherwise.

host_rc

Parameters named host_rc in parameters table. Numeric vector of length equal to the number of host species. Values are the host reservoir competence for each host species.

pref

Parameters named pref in parameters table. Numeric vector of length equal to the number of host species. Values are the preference for ticks in a given transition for each host species.

Details

Since density dependent mortality is subtracted later, in this function we assume that all feeding ticks feed successfully and become engorged.

Value

Numeric vector of length 1

Examples

1
2
3
infect_fun(10, NULL, 0, 0, .3, 1)
infect_fun(10, NULL, 0, 1, .3, 1)
infect_fun(10, NULL, 1, 1, .3, 1)

IxPopDyMod documentation built on Feb. 8, 2022, 9:07 a.m.