This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'louvain_mod' of github.com:PoisotLab/EcologicalNetwork.…
…jl into louvain_mod
- Loading branch information
Showing
4 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,30 @@ | ||
# Food-web specific measures | ||
|
||
## Measures of trophic level | ||
|
||
These measure work by counting the distance to a primary producer -- where | ||
"primary producer" is defined as the fact of not having outgoing interactions. | ||
Primary producers have a trophic level of 1, and species that consume primary | ||
producers have trophic levels of 2, etc. This represents a species' *fractional* | ||
trophic level. | ||
|
||
~~~@docs | ||
fractional_trophic_level | ||
~~~ | ||
|
||
Because some species higher-up the food chain eat preys at various fractional | ||
trophic levels, there is also a more integrative measure -- the trophic level of | ||
a species is the weighted average of the fractional trophic level of its preys: | ||
|
||
~~~@docs | ||
trophic_level | ||
~~~ | ||
|
||
## Measures of trophic positions | ||
|
||
For every species in a food web, this will return an array with its overall | ||
position: | ||
|
||
~~~@docs | ||
foodweb_position | ||
~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters