Learn R Programming

devRate (version 0.2.4)

devRateIBMPlot: Plot phenology table

Description

Plot phenology table

Usage

devRateIBMPlot(ibm, typeG = "density", threshold = 0.1)

Value

Nothing.

Arguments

ibm

The phenology model returned by devRateIBM function.

typeG

The type of plot ("density" or "hist").

threshold

The threshold rate of individuals for being represented in a density plot (a numeric between 0 and 1).

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)
devRateIBMPlot(ibm = forecastTsolanivora, typeG = "density", threshold = 0.1)
devRateIBMPlot(ibm = forecastTsolanivora, typeG = "hist")

Run the code above in your browser using DataLab