View source: R/utility_functions.R
TLcheddar | R Documentation |
Calculates the trophic level for each tropospecies
TLcheddar(W)
W |
A matrix of trophic species. Rows eat columns. |
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/
A vector of trophic level assignments. The base of the food chain is 0.
TLcheddar(intro_comm$imat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.