integrateGrowthDW: Integrate SL based on a temperature time series

Description Usage Arguments Details Value Examples

View source: R/growthIntegrationFunctions.R

Description

Function to integrate SL based on a temperature time series.

Usage

1
integrateGrowthDW(dt, DW, T, growthFcn)

Arguments

dt

- integration time step (in days)

T

- vector of temperatures (deg C)

growthFcn

- function calculating temperature-dependent growth rates

SL

- initial standard length (mm)

Details

None.

Value

tibble with columns age, T, grDW, and DW

Examples

1
2
3
4
## T = 5;
## D = ysl_YolkSacAbsorption(T);#--calculate stage duration at T
## vTs = 5+0*(1:100);           #--time series of temperatures
## tbl1 = integrateGrowthDW(D/100,0.01,vTs,ysl_GrowthRateSL)

wStockhausen/rPacificCod documentation built on March 25, 2021, 2:39 p.m.