getTL: Calculate prey-averaged trophic levels

Description Usage Arguments Value References Examples

Description

Calculate prey-averaged trophic levels for each species in a matrix

Usage

1
getTL(M)

Arguments

M

An S by S adjacency matrix, where S is the number of species

Value

A vector of S trophic levels

References

Williams, R.J. and N.D. Martinez. 2004. Limits to Trophic Levels and Omnivory in Complex Food Webs: Theory and Data. Am. Nat.

Examples

1
2
mat <- BuildCascade()
getTL(mat)

esander91/PredictImportance documentation built on May 16, 2019, 8:51 a.m.