trophic_levels: Calculate trophic level

View source: R/network-metrics.R

trophic_levelsR Documentation

Calculate trophic level

Description

Calculate trophic level

Usage

trophic_levels(sp.names, metaweb)

Arguments

sp.names

vector, names of the species in the meta-community.

metaweb

adjacency matrix of the meta food web (metaweb).

Value

numeric vector of trophic levels.


emilio-berti/assembly documentation built on Aug. 16, 2022, 9:50 p.m.