Skip to contents

Fits a function that returns scaled daily fecundity based on population density

Usage

fit_bannerman(D, p)

Arguments

D

carrying capacity (inflection point)

p

rate of decline in fecundity

Value

function that accepts x and returns y based on fitted model

Details

Fits a curve based on Bannerman & Roitberg (2014) to describe how daily fecundity changes with density: $$ 1 - \frac{1}{1 + e^{-p \cdot (\text{density} - D)}} $$

References

Bannerman, J,A., Roitberg, B.D., Impact of extreme and fluctuating temperatures on aphid-parasitoid dynamics. Oikos, 123, 89-98 (2014)

Examples

my_func <- EndoSim:::fit_bannerman(10000, 0.0008)
plot(seq(0, 15000, by = 1), my_func(seq(0, 15000, by = 1)), type = "l")