This function applies the von Bertalanffy growth function (VBGF). It allows to calculate ages from lengths or lengths from ages based on the special, generalised or seasonalised VBGF.
VBGF(param, t =NA, L =NA, na.rm =FALSE)
Arguments
param: a list with following potential objects:
Linf: infinite length for investigated species in cm, or
Winf: infinite weight for investigated species in gramm
K: growth coefficent for investigated species per year
t0: theoretical time zero, at which individuals of this species hatch (default: 0)
b: exponent of weight length relationship (default: 3)
D: surface factor (default: 1)
L0: length at hatching for VBGF with L0
ts: onset of the first oscillation relative to t0
C: intensity of (sinusoid) growth oscillations. Default is no oscillation (C = 0)
t: ages for which to calculate corresponding lengths, or
L: lengths for which to calculate corresponding ages
na.rm: logical; should NA in input length or age vector be omitted? (default: FALSE)
Returns
A vector with estimated lengths corresponding to provided ages.
Details
Based upon which input parameters are given one of the following VBGF types is applied: "special", "generalised", or "seasonalised" VBGF.