which_omnivore: Retrive if a taxon is omnivore

Description Usage Arguments Value References Examples

View source: R/omnivore.R

Description

Retrive if a taxon is omnivore or not, based on average prey trophic level or shortest trophic level method.

Usage

1
which_omnivore(graph, method = c("shortest", "average_prey"))

Arguments

graph

an igraph object.

method

computation method for the trophic level. Must be one of 'shortest' or 'average_prey'. See short_tl and prey_avg_tl for more informations.

Value

dataframe. First column containing the taxa and second if the taxon is omnivore or not.

References

Baiser, B., Gotelli, N. J., Buckley, H. L., Miller, T. E., & Ellison, A. M. (2012). Geographic stats::variation in network structure of a nearctic aquatic food web. Global Ecology and Biogeography.

Examples

1
2
3

clementviolet/omnivor documentation built on Aug. 16, 2019, 12:05 a.m.