density_fun {IxPopDyMod}R Documentation

Density dependent mortality

Description

Density dependent mortality

Usage

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

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


[Package IxPopDyMod version 0.3.0 Index]