Obtain the mean weight (tonnes per fish) at age for each fishery each year.
This assessment-specific helper is normally called by get_data().
Arguments
- length_mu_ysa
A numeric
arraywith dimensions \[year, season, age\] containing the mean length (cm) at age for each year and season. Can be generated usingget_length_at_age.- length_sd_a
A numeric
vectorcontaining the standard deviation of length at age. Length must equal the number of age classes.
Details
The calculation is specialized to six fisheries and two seasons. LL4 and Indonesian weights copy the LL3 series, while the Australian surface series uses the fourth configured length-weight relationship.
Examples
data <- sbt_example_data()
weight_fya <- get_weight_at_age(
length_mu_ysa = data$length_mu_ysa,
length_sd_a = data$length_sd_a
)
