prey.on.prey: Each prey fatty acid signature is systematically removed from...

Description Usage Arguments Value Examples

View source: R/prey.on.prey.R

Description

Each prey fatty acid signature is systematically removed from the supplied prey database and its QFASA diet estimate is obtained by treating the individual as a predator.

Usage

1
prey.on.prey(preybase, dist.meas, gamma = 1)

Arguments

preybase

first column is name of species and remaining columns are fatty acids.

dist.meas

see help file for p.QFASA.

gamma

see help file for p.QFASA.

Value

diet estimate

Examples

1
2
3
4
5
6
7
data(preyFAs)
my.preybase <- preyFAs[, -c(1,3)]

# Note: uncomment examples to run. CRAN tests fail because execution time > 5 seconds
# diets.out <- prey.on.prey(my.preybase, 2)
# round(MEANmeth(diets.out), 3)
     

QFASA documentation built on July 21, 2021, 1:06 a.m.