devRateIBMgen: Number of generations

View source: R/devRate_pheno.R

devRateIBMgenR Documentation

Number of generations

Description

Computes the number of generations from the individual-based model fit.

Usage

devRateIBMgen(ibm)

Arguments

ibm

The phenology model returned by devRateIBM function.

Value

The simulated number of generations.

Examples

data(exTropicalMoth)
forecastTsolanivora <- devRateIBM(
   tempTS = rnorm(n = 100, mean = 15, sd = 1),
   timeStepTS = 1,
   models = exTropicalMoth[[2]],
   numInd = 10,
   stocha = 0.015,
   timeLayEggs = 1)
devRateIBMgen(ibm = forecastTsolanivora)

devRate documentation built on Aug. 24, 2023, 9:07 a.m.