powered by
This function calculates the inverse of the VBGF, or, time it takes to grow to a particular length
inv_vb(len, linf, k, t0)
A numeric vector of how long it takes to grow to length len
len
Numeric. A length at which to determine how long it takes to grow
The L∞ parameter of the VBGF
The k parameter of the VBGF
The t0
time <- 365 len_at_age <- vbgf(time, 30, (0.2 / 365), -0.2) inv_vb(len_at_age, 30, (0.2/365), -0.2)
Run the code above in your browser using DataLab