Niche width

Description

Compute niche width of the species in a community.

Usage

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

Arguments

mat

A community data matrix with each column for each species, and each row for each plot.

method

Index of niche width.

Details

To be added

Value

A vetor contains niche width index of species in 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
4
# ### niche.width() example 
data(datasample)
niche.width(datasample, method = "levins")
niche.width(datasample, method = "shannon")