durationFuncDefault: Life stage duration function

View source: R/durationFunction.R

durationFuncDefaultR Documentation

Life stage duration function

Description

Return the duration of the life stages (time units).

Usage

durationFuncDefault(stage, x, time, species, strain)

Arguments

stage

(integer). The numbered life stage for which to return a duration

x

Vector of state variables within the DDE solver. To access a particular variable use: x$speciesName['stageName',strainNumber] e.g. for species 'Bacteria', stage 'reproductive', strain 2 use x$Bacteria['reproductive',2] If there is only one stage and strain in species 'Food', for example, use x$Food[1,1]

time

(scalar). The current time point in the DDE solver.

species

(integer). The numbered species for which to return a life stage duration.

strain

(integer). The numbered strain for which to return a life stage duration.

Value

Duration of the life stage for the stage, species, strain and time specified.


stagePop documentation built on May 10, 2022, 5:10 p.m.