Learn R Programming

devRate (version 0.2.4)

devRateIBMgen: Number of generations

Description

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

Usage

devRateIBMgen(ibm)

Value

The simulated number of generations.

Arguments

ibm

The phenology model returned by devRateIBM function.

Examples

Run this code
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)

Run the code above in your browser using DataLab