TLcheddar {soilfoodwebs} | R Documentation |
Calculates the trophic level for each tropospecies
Description
Calculates the trophic level for each tropospecies
Usage
TLcheddar(W)
Arguments
W |
A matrix of trophic species. Rows eat columns. |
Details
This function is a subset of code provided in the package Cheddar written by Lawrence Hudson, Dan Reuman and Rob Emerson. It is licensed under a BSD_2_clause, the text of which is provided as a comment in the function code. The original package can be found on CRAN or at https://github.com/quicklizard99/cheddar/
Value
A vector of trophic level assignments. The base of the food chain is 0.
Examples
TLcheddar(intro_comm$imat)
[Package soilfoodwebs version 1.0.2 Index]