View source: R/default_transition_functions.R

find_n_feed | R Documentation |

Probability of finding a host and successfully feeding on it

```
find_n_feed(x, a, pref, feed_success)
```

`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 |

`pref` |
Parameters named |

`feed_success` |
Parameters named |

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

```
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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.