Life traits from Thermal Performance Curve
Compute life traits from a Thermal Performance Curve
dRGetMetrics( nlsDR, prec = 0.1, lowTempLim = 0, highTempLimit = 60, devLimit = 0.01, printOut = FALSE )
nlsDR
: The object obtained from the devRateModel
function.prec
: The precision for the temperature (default = 0.1 degree celsius).lowTempLim
: The minimum temperature for the metrics (default = 0 degree celsius).highTempLimit
: The maximum temperature for the metrics (default = +60 degree celsius).devLimit
: The development rate considered as null (default = 0.01).printOut
: A logical to print the result (default = FALSE).A matrix with one column and one row for each metric. The metrics names are the row names.
rawDevEggs <- matrix( c(10, 0.031, 10, 0.039, 15, 0.047, 15, 0.059, 15.5, 0.066, 13, 0.072, 16, 0.083, 16, 0.100, 17, 0.100, 20, 0.100, 20, 0.143, 25, 0.171, 25, 0.200, 30, 0.200, 30, 0.180, 35, 0.001 ), ncol = 2, byrow = TRUE) mEggs <- devRateModel( eq = taylor_81, temp = rawDevEggs[,1], devRate = rawDevEggs[,2], startValues = list(Rm = 0.05, Tm = 30, To = 5) ) myMetrics <- dRGetMetrics(nlsDR = mEggs, printOut = TRUE)