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

Description Usage Arguments Value

View source: R/sim_pop.R

Description

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

Usage

1
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


SimSurvey documentation built on Jan. 16, 2021, 5:31 p.m.