R/sim_pop.R
convert_N.Rd
Converts an abundance-at-age matrix to an abundance-at-length matrix using a length-age key. Both input matrices must be named appropriately.
convert_N(N_at_age = NULL, lak = NULL)
A matrix of abundance-at-age values.
A length-age key matrix — i.e., the probability of being in a specific length group given age.
A matrix of abundance-at-length values.