View source: R/Confidence_Interval_Beta_Distribution.R
gen.pseudo.seals | R Documentation |
Generate pseudo predators with ith predator having true diet given by ith row of diet.null.mat.
gen.pseudo.seals(prey.mat, diet.null.mat, cal.mat, fat.cont, noise, nprey)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.