Description Usage Arguments Examples
Converts fish age to length using Von Bertalanffy growth model parameters (Knickle and Rose 2013) Lt = Linf * 1-exp(-k*(t-t0)), where Lt is length (cm) at age t (year), Linf is the asymptotic length (cm), k is the VB growth coefficient (1/year), and t0 is the x intercept (year). Linf = 112.03 (95
1 2 | age2length(t = 0:50, Linf_mean = 112.03, Linf_SD = 10.46/1.96,
k_mean = 0.13, k_SD = 0.021/196, t0 = 0.18)
|
t |
The age of the fish (year) |
Linf_mean |
Von Bertalanffy growth model parameter - mean asymptotic length (cm) |
Linf_SD |
Von Bertalanffy growth model parameter - standard deviation asymptotic length (cm) |
k_mean |
Von Bertalanffy growth model parameters - mean growth coefficient (1/year) |
k_SD |
Von Bertalanffy growth model parameters - standard deviation growth coefficient (1/year) |
t0 |
Von Bertalanffy growth model parameters - x intercept (year) |
1 2 3 4 5 | # one t at a time
age2length(t = 1, Linf_mean = 112.03, Linf_SD = 10.46/1.96,k_mean = 0.13, k_SD = 0.021/196, t0 = 0.18)
# multiple t at a time
age2length(t = 0:50, Linf_mean = 112.03, Linf_SD = 10.46/1.96,k_mean = 0.13, k_SD = 0.021/196, t0 = 0.18)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.