modify_scaled_likelihoods_for_known_mixture_fish: for individuals of known origin in the mixture, put all their...

View source: R/modify-scaled-likelihoods-for-known-mixture-fish.R

modify_scaled_likelihoods_for_known_mixture_fishR Documentation

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

Description

This is used internally.

Usage

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)


benmoran11/rubias documentation built on Feb. 1, 2024, 10:52 p.m.