modify_scaled_likelihoods_for_known_mixture_fish function

for individuals of known origin in the mixture, put all their weight on their known collection

for individuals of known origin in the mixture, put all their weight on their known collection

This is used internally.

modify_scaled_likelihoods_for_known_mixture_fish(SL, KC, CFL)

Arguments

  • SL: the matrix of scaled likelihoods.
  • KC: a character vector of collections that the individuals belong to (or NA if you don't know where they come from). If this is NULL, then SL just gets returned untouched.
  • CFL: the levels of the collections factor (which is within clean$short)
  • Maintainer: Eric C. Anderson
  • License: CC0
  • Last published: 2024-01-24

Useful links