Description Usage Arguments Value Author(s)
View source: R/AgeToLengthComp.R
AgeToLengthComp
Converts vulnerable numbers at age to length composition of catch
1 | AgeToLengthComp(lh, S_a, tyears, N_at, comp_sample, sample_type = "catch")
|
lh |
list of life history attributes, output of create_lh_list |
S_a |
flexiblity to set selectivity-at-age by fleet |
tyears |
number of years of data |
N_at |
matrix of numbers in the population at each age over time |
comp_sample |
vector of number of individuals sampled each year (set as 1 for proportions) |
sample_type |
a character vector specifying if the length comps are sampled from the 'catch' (default) or from the population |
data frame - number of individuals in each length bin in each year
M.B. Rudd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.