View source: R/networkProperties.R
calcSppTL | R Documentation |
Calculate species trophic levels
calcSppTL(web = NULL, community = NULL, out.type = c("vector", "data.table"))
web |
a square |
community |
object of class "Community", output by |
out.type |
character. should trophic levels be output as a named vector (as the output of
|
Cannibalistic links are removed with [cheddar::RemoveCannibalisticLinks()]
before calculating species trophic levels with [cheddar::PreyAveragedTrophicLevel()]
a vector or data.table
(see out.type
) of trophic level values for each species in
the community.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.