density_fun: Density dependent mortality

Description Usage Arguments Value Examples

View source: R/transition_functions.R

Description

Density dependent mortality

Usage

1
density_fun(x, y, a, b, c, 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. Number of feeding ticks in life stages specified by predictor 2.

a

Parameter a in parameters table.

b

Parameter b in parameters table.

c

Parameter c in parameters table.

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.

Value

Numeric vector of length 1, indicating mortality rate

Examples

1
density_fun(c(10, 20), 100, .1, .3, .2, c(.5, .8))

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