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

View source: R/sim_pop.R

convert_NR Documentation

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)

Arguments

N_at_age

Abundance-at-age matrix

lak

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

Value

Returns abundance-at-length matrix.


PaulRegular/SimSurvey documentation built on Sept. 21, 2023, 7:42 p.m.