niche.width: Niche width

View source: R/niche.width.R

niche.widthR Documentation

Niche width

Description

Compute niche width for all the species in a community.

Usage

niche.width(mat, method = c("shannon", "levins"))

Arguments

mat

A community matrix with columns representing species, and rows representing plots.

method

Character string showing the name of the index.

Value

A vetor containing niche width for all the species in the community.

Author(s)

Jinlong Zhang jinlongzhang01@gmail.com

References

Zhang Jin-tun,(2004 ) Quantitative Ecology, Science Press, Beijing

See Also

niche.overlap for niche overlap

Examples


data(datasample)
niche.width(datasample, method = "levins")
niche.width(datasample, method = "shannon")


spaa documentation built on April 4, 2025, 2:41 a.m.