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

View source: R/default_transition_functions.R

infect_funR Documentation

Probability that a feeding tick becomes engorged infected or uninfected

Description

Probability that a feeding tick becomes engorged infected or uninfected

Usage

infect_fun(x, 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.

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

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


IxPopDyMod documentation built on Oct. 24, 2023, 1:07 a.m.