Computes binomial likelihood of recapture events from genetic tagging data.
Arguments
- gt_switch
Integer flag for likelihood type: 0=off, 1=binomial, 2=beta-binomial.
- gt_obs
A
data.frameof genetic tagging observations.- first_yr
Integer first model year.
- par_log_gt_q
Numeric log-scale catchability coefficient representing the proportion of fish that went through the GAB.
- number_ysa
A 3D
arrayof numbers-at-age with dimensions year by season by age.- gt_od
Numeric overdispersion parameter for beta-binomial likelihood (default = 1).
