trophic_niche: Trophic niches

View source: R/utils.R

trophic_nicheR Documentation

Trophic niches

Description

Trophic niches

Usage

trophic_niche(sp.names, metaweb)

Arguments

sp.names

vector of species names.

metaweb

adjacency matrix of the metaweb.

Details

Calculate the trophic niche of species as the mean and variance of the trophic level of their resources.

Value

matrix with mean and variance of the trophic level of species' resources. These are both zero if the species is a basal resource.


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