prey_avg_tl: Prey-averaged trophic level

Description Usage Arguments Value References Examples

View source: R/trophic_length.R

Description

Prey-averaged trophic level is calculated as follow :

TL_j = 1 + ∑_{i = 1}{S}l_{ij}\frac{TL_{i}}{n_j}

With :

Usage

1
prey_avg_tl(graph)

Arguments

graph

an igraph object.

Value

dataframe contening the taxons and the trophic level.

References

Levine, S., 1980. Several measures of trophic structure applicable to complex food webs. Journal of Theoretical Biology

Williams, R.J. & Martinez, N.D., 2004. Limits to Trophic Levels and Omnivory in Complex Food Webs: Theory and Data. The American Naturalist

Examples

1
2
3

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