Learn R Programming

spaa (version 0.2.2)

niche.overlap.pair: Niche overlap between one pair of species.

Description

Compute niche overlap index between one pair of species. Users are encouraged to used niche.overlap istead of this function.

Usage

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

Arguments

vectA
A numerical vector including species A's abundance or value of importance.
vectB
A numerical vector including species B's abundance or value of importance.
method
Niche overlap index to be applied.

Value

Niche overlap index.

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

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

Run the code above in your browser using DataLab