Forecast ectotherm phenology as a function of temperature and development rate models available in the package database
devRateIBMdataBase( tempTS, timeStepTS, eq, species, lifeStages, numInd = 10, stocha, timeLayEggs = 1 )
tempTS
: The temperature time series (a vector).timeStepTS
: The time step of the temperature time series (a numeric with 1 = one day).eq
: The name of the equation (e.g., lactin2_95).species
: The species for the model (e.g., "Sesamia nonagrioides").lifeStages
: The life stages available for the species and the model.numInd
: The number of individuals for the simulation (an integer).stocha
: The standard deviation of a Normal distribution centered on development rate to create stochasticity among individuals (a numeric).timeLayEggs
: The delay between emergence of adults and the time where females lay eggs in time steps (a numeric).A list with three elements: the table of phenology for each individual, the models used (nls objects), and the time series for temperature.
forecastLactin2_95 <- devRateIBMdataBase( tempTS = rnorm(n = 20, mean = 20, sd = 1), timeStepTS = 10, eq = lactin2_95, species = "Sesamia nonagrioides", lifeStages = c("eggs", "larva", "pupa"), numInd = 10, stocha = 0.015, timeLayEggs = 1 )