Learn R Programming

spaa (version 0.2.5)

niche.overlap.pair: Compute niche overlap index between two species

Description

Compute niche overlap index between two species. This is an internal function, used niche.overlap instead.

Usage

niche.overlap.pair(vectA, vectB, method = c("pianka",
     "schoener","petraitis","czech","morisita", "levins"))

Value

The niche overlap index

Arguments

vectA

A numeric vector containing species A's abundance or importance value

vectB

A numeric vector containing species B's abundance or importance value

method

Niche overlap index

Author

Jinlong Zhang jinlongzhang01@gmail.com

Details

None

References

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

Nicholas J. Gotelli. 2000. Null model analysis of species co-occurrence patterns. Ecology 81:2606-2621. http://esapubs.org/archive/ecol/E081/022/EcoSim

See Also

niche.overlap

Examples

Run this code

data(datasample)
niche.overlap.pair(datasample[,1],datasample[,2], method = "levins")

Run the code above in your browser using DataLab