Obtain dl for use later in calculating phi. This function is used within
get_data
so is generally not needed directly.
Arguments
- length_mu_ysa
an
array
containing the mean length at age (a) for each year (y) and season (s).- length_sd_a
a
vector
containing the standard deviation of the mean length at age.
Details
Obtain dl for use later in calculating phi(a,y). From the
PRELIMINARY_CALCS_SECTION of sbtmod.tpl
. More fine-scale than
lenage_dist_syal. Needs a bit more detail to get it right.
Integrates over length-at-age distribution to get phi(age,year).
Examples
length_mu_ysa <- get_length_at_age(length_mean = sbt::length_mean)
dl_yal <- get_dl(length_mu_ysa = length_mu_ysa,
length_sd_a = sbt::length_sd$SD)