VB_func()
View source ↗On this page
Evaluate the von Bertalanffy curve of mean length at age.
Usage
VB_func(Linf, k, t0, age)
Arguments
| Argument | Default | Description |
|---|---|---|
Linf | required | The asymptotic length, in the length unit of the data. |
k | required | The growth coefficient, per year. |
t0 | required | The theoretical age at zero length, in years. |
age | required | Ages in years. |
Value
A numeric vector of mean lengths, corresponding to age.
Details
Computes Linf * (1 - exp(-k * (age - t0))). Use years for age and t0 and inverse years for k. The result is the mean length; it includes neither the variation among individuals nor the uncertainty of the parameters.
Examples
Run the setup before the example. Fitting examples require an R-compatible C++ toolchain; simulation and export examples may write files.
Example setup
library(ALSCL)
# Use objects defined above
VB_func(Linf = 60, k = 0.2, t0 = 1/60, age = 1:15)