module4: module4

View source: R/module4.R

module4R Documentation

module4

Description

Module 4: Calculate Maturation Feeding and Hibernation. This function calculates the maturation feeding times and hibernation status of the pine weevil.

Usage

module4(t7, today, params, stump_temp, month, j)

Arguments

t7

A numeric vector of length 'npop' containing the required feeding times for each individual.

today

A single numeric value representing the current day.

params

A list containing various model parameters, such as degree days for emergence and overwintering.

stump_temp

A list containing stump temperature and cold data.

month

A numeric vector containing the month for each day.

j

A single numeric value representing the current iteration of the inner loop.#'

Value

A list containing updated values for various insect maturation and hibernation times, including:

  • Current day (today).

  • Number of days spent feeding (feeddays).


Alessandra23/pineR documentation built on Aug. 26, 2023, 8 a.m.