View source: R/utils-calc-fishery-ages.R
calc_fishery_ages | R Documentation |
Uses loaded age data from each fleet to create the age-composition data for the Stock Synthesis file after weighting by catch and weight-at-age. The weight-at-age information is passed as a function argument and subset for fleet 1 and the catch data is available internally in the package.
calc_fishery_ages(weight_at_age)
weight_at_age |
A data frame read in by |
TODO:
Weight-at-age is summed over all ages 0–20 but ages are not available for 16+?
A data frame is returned that is appropriate for using in a Stock Synthesis data file for the age-composition section.
Kelli F. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.