devRateMap {devRate}R Documentation

Predict development rate from a matrix of temperatures

Description

Create a map from a temperature matrix and a development rate curve

Usage

devRateMap(nlsDR, tempMap)

Arguments

nlsDR

The result returned by the devRateModel function.

tempMap

A matrix containing temperatures in degrees.

Details

The devRateMap function is designed for a single ectotherm life stage, but the resulted matrix of development rate can be performed for each life stage in order to obtain the whole organism development. Input temperatures should preferably cover the organism development period rather than the whole year.

Value

A matrix with development rates predicted from the model.

Examples

myT <- 5:15
myDev <- -0.05 + rnorm(n = length(myT), mean = myT, sd = 1) * 0.01
myNLS <- devRateModel(eq = campbell_74, temp = myT, devRate = myDev,
  startValues = list(aa = 0, bb = 0))
myMap <- devRateMap(nlsDR =  myNLS, tempMap = matrix(rnorm(100, mean = 12, sd = 2), ncol=10))

[Package devRate version 0.2.4 Index]