Learn R Programming

optistock (version 0.0.2)

inv_vb: The inverse von Bertalanffy function (iVBGF)

Description

This function calculates the inverse of the VBGF, or, time it takes to grow to a particular length

Usage

inv_vb(len, linf, k, t0)

Value

A numeric vector of how long it takes to grow to length len

Arguments

len

Numeric. A length at which to determine how long it takes to grow

linf

The L parameter of the VBGF

k

The k parameter of the VBGF

t0

The t0

Examples

Run this code
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