Computes the negative log-likelihood for observed parent-offspring pairings from genetic samples.
Arguments
- pop_switch
Integer flag for activation (0=off, 1=on).
- pop_obs
A
matrixof parent-offspring pairing observations.- paly
A
arrayof probability by length, age, and year.- phi_ya
A
matrixof reproductive output-at-age with dimensions year by age.- spawning_biomass_y
A
vectorof spawning biomass values indexed by year.
