growth_funs: Basic functions for growth curves

Description Usage Arguments Value Examples

Description

vb produces the von Bertalanffy growth curve for length at age

L_{∞} * (1 - \exp(-k * (a - t_0)))

where a is age. lw returns the length-weight relationship as determined by parameters α and β in the function

α * L^{β}

, where L is length.

Usage

1
2
3
vb(linf, k, t0, age)

lw(alpha, beta, length)

Arguments

linf

Numeric. Parameter specifying aximum length at age

k

Numeric. Parameter specifying steepness of the growth curve

t0

Numeric. Shifting parameter that specifies theoretical age at length 0

age

Numeric vector of ages

Value

A numeric vector corresponding to mean length-at-age for vb or mean weight-at-length for lw

Examples

1
2
3
age <- 1:20
length <- vb(125, 0.15, -0.5, age)
wt <- lw(length, 1e-06, 3)

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.