Learn R Programming

SimSurvey (version 0.1.6)

convert_N: Convert abundance-at-age matrix to abundance-at-length

Description

Function for converting abundance-at-age matrix to abundance-at-length given a length-age-key. Expects matrices to be named.

Usage

convert_N(N_at_age = NULL, lak = NULL)

Value

Returns abundance-at-length matrix.

Arguments

N_at_age

Abundance-at-age matrix

lak

Length-age-key (i.e. probability of being in a specific length group given age)