mean_tl: Mean trophic level

Description Usage Arguments Value References Examples

View source: R/food_chain_length.R

Description

Mean trophic level for the food web. Also called "mean food chain length".

Usage

1
mean_tl(graph, method = c("shortest", "average_prey", "weighted"))

Arguments

graph

an igraph object.

method

computation method for the trophic level. Must be one of 'shortest', 'average_prey' 'weighted'. See short_tl,prey_avg_tl, short_wght_tl for more informations.

Value

numeric: the mean trophic level

References

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

Examples

1
2
3
data(aleutian)

mean_tl(aleutian, method = "weighted")

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