find_n_feed: Probability of finding a host and successfully feeding on it

View source: R/default_transition_functions.R

find_n_feedR Documentation

Probability of finding a host and successfully feeding on it

Description

Probability of finding a host and successfully feeding on it

Usage

find_n_feed(x, a, pref, feed_success)

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.

a

Parameter a is the probability that a tick finds any one host.

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.

feed_success

Parameters named ⁠feed success⁠ in parameters table. Numeric vector of length equal to the number of host species. Values are the feeding success rate for ticks in a given transition while feeding on each host species.

Value

Numeric vector of length 1 indicating probability that ticks find any host and then successfully feed on that host.

Examples

find_n_feed(10, .1, 1, .5)
find_n_feed(runif(2) * 10, .1, runif(2), runif(2))


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