prey.on.prey | R Documentation |
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.
prey.on.prey(preybase, dist.meas, gamma = 1)
preybase |
first column is name of species and remaining columns are fatty acids. |
dist.meas |
see help file for |
gamma |
see help file for |
diet estimate
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.