comp.gen.pseudo.seals: Generate pseudo predators with ith predator having true diet...

View source: R/All_CI_Code.R

comp.gen.pseudo.sealsR Documentation

Generate pseudo predators with ith predator having true diet given by ith row of diet.null.mat.

Description

Generate pseudo predators with ith predator having true diet given by ith row of diet.null.mat.

Usage

comp.gen.pseudo.seals(prey.mat, diet.null.mat, cal.mat, fat.cont, noise, nprey)

Arguments

prey.mat

matrix containing a representative FA signature from each prey group (usually the mean). The first column must index the prey group.

diet.null.mat

null diet

cal.mat

matrix of calibration coefficients where the i th column is to be used with the i th predator.

fat.cont

vector of fat content

noise

proportion of noise to add to the simulation.

nprey

number of prey to sample.


QFASA documentation built on Nov. 17, 2023, 1:08 a.m.