Skip to contents

Fits a function that returns parasitoid wasp development rate based on daily temperature

Usage

fit_lactin(epsilon, tau, lambda, Tupper)

Arguments

epsilon

development rate scalar

tau

development rate scalar

lambda

development rate scalar

Tupper

upper development threshold

Value

function that accepts x and returns y based on fitted model

Details

A development rate function to pass on to the Parasitoid model. Fits a curve using the Lactin model (Lactin et al. 1995): $$ e^{\epsilon \cdot T} - e^{\epsilon \cdot T_{\text{opt}} - \left(\frac{T_{\text{opt}} - T}{\tau}\right)} + \lambda $$

References

Lactin, D.J., Holliday, N.J., Johnson, D.L., Craigen, R., Improved rate model of temperature-dependent development by arthropods. Environmental Entomology, 24, 68-75 (1995)

Examples

my_func <- EndoSim:::fit_lactin(0.13048, 7.64313, -0.01308, 35.47)
plot(seq(0, 50, by = 0.1), my_func(seq(0, 50, by = 0.1)), type = "l")