Skip to contents

An S4 class to store a parasitoid's life history for the endosymbiont model

Slots

species

The name of the pest

fun_dev_para

Function describing temperature-dependent development of parasitoids

fun_para_scal

Function to modify development rate

fun_attack

Function describing attack rate as function of temperature

fun_handling

Function describing handling rate as function of temperature

susc_stage

Numeric vector defining the susceptible lifestages of the pest to parasitoids

introduction_date

Date parasitoids are introduced in YYYY-MM-DD format

introduction_n

Number of adult parasitoids introduced (assumed to all be female)

Examples

Wasp <- new("parasitoid",
            species = "Diaeretiella rapae",
            fun_dev_para = EndoSim:::fit_lactin(0.13048, 7.64313, -0.01308, 35.47),
            fun_para_scal = EndoSim:::fit_null(1),
            fun_attack = EndoSim:::fit_thirdpoly(0.00001084, -0.0021, -0.0272, -0.0145),
            fun_handling = EndoSim:::fit_thirdpoly(0.298, 0.0035, 0.000256, 1.395, inv = T),
            susc_stage = c(2, 3),
            introduction_date = "2024-04-17",
            introduction_n = 5)

Wasp
#> Parasitoid of the species  Diaeretiella rapae 
#>  attacking pests of the following lifestages:  2 3 
#>  5  individuals introduced on  2024-04-17