CatchCutoffMatrix: Create Annual (or Sampling Year) Length Cutoff Matrix.

Description Usage Arguments Value Examples

View source: R/growth.R

Description

Because we cannot easily age sturgeon, length acts as a surrogate. Here, given min length and max length (usually from annual extant regulations) and VBGM, we calculate corresponding min age & max age. These ages then in turn are used to create length cutoff matrices.

Usage

1
CatchCutoffMatrix(relYear, minLen, maxLen, vb)

Arguments

relYear

Numeric. Release (tagging) or sampling 4-digit year.

minLen

Numeric. Minimum length, typically per regulations in place during 'relYear'.

maxLen

Numeric. Maximum length, typically per regulations in place during 'relYear'.

vb

Function. Output of GetVBGM().

Value

Matrix with five columns (RelYear, MinLen, MaxLen, MinAge, MaxAge), where MinAge & MaxAge calculated using length inputs & 'vb' function.

Examples

1
# coming soon.

jasondubois/sportfish documentation built on Jan. 26, 2020, 11:17 p.m.