Learn R Programming

spaa (version 0.2.2)

niche.width: Niche width

Description

Compute niche width of the species in a community.

Usage

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

Value

A vetor contains niche width index of species in community.

Arguments

mat

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

method

Index of niche width.

Author

Jinlong Zhang jinlongzhang01@gmail.com

Details

To be added

References

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

See Also

niche.overlap for niche overlap

Examples

Run this code

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

Run the code above in your browser using DataLab