Calculate Troll Survey Likelihood (Version 1)
Arguments
- troll_switch
An
integerscalar, switch to turn on (>0) or off (0) the troll likelihood.- troll_years
An
integervector, year indices for troll survey observations.- troll_obs
A
numericvector, observed troll survey values.- troll_sd
A
numericvector, observation error standard deviations.- troll_tau
A
numericscalar, additional variance parameter.- number_ysa
A
numericarray of dimensions \[n_year + 1, n_season, n_age\], numbers-at-age.
