niche.width: Niche width

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/niche.width.R

Description

Compute niche width for all the species in a community.

Usage

1
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

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

helixcn/spaa documentation built on Aug. 13, 2021, 3:21 a.m.