module5 | R Documentation |
Module 5: Calculate Dispersal, Oviposition, and Egg Development. This function calculates the dispersal, oviposition, and egg development times of the pine weevil.
module5(params, today, maxtemp, stump_temp, t1, j)
params |
A list containing various model parameters, such as degree days for emergence and overwintering. |
today |
A single numeric value representing the current day. |
maxtemp |
A numeric vector containing the maximum daily temperatures. |
stump_temp |
A list containing stump temperature and cold data. |
t1 |
A numeric vector of length 'npop' containing the required egg development times for each individual. |
j |
A single numeric value representing the current iteration of the inner loop. |
A list containing updated values for various insect dispersal, oviposition, and egg development times, including:
Current day (today).
Day of viable egg development (eggdev).
Index of selected viable egg (eggsel).
Vector of days for each egg (eggdays).
Vector of sorted indices for egg distribution (eggdist).
Vector of egg weights (eggwts).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.