Learn R Programming

spaa (version 0.2.5)

niche.overlap.boot: Boostrap niche overlap indices

Description

Bootstrap niche overlap indices

Usage

niche.overlap.boot(mat, method = c("pianka", "schoener", "petraitis",
    "czech", "morisita", "levins"), times = 1000, quant = c(0.025, 0.975))

Value

a data frame with each row for each pair of species the columns are "Observed", "Boot mean", "Boot std", "Boot CI1", "Boot CI2", "times"

Arguments

mat

standard community matrix.

method

character string specifying the index.

times

Interger, representing the number of bootstrap samples to generate.

quant

Quantile of the bootstrap values.

Author

Jinlong Zhang jinlongzhang01@gmail.com

Details

This function bootstraps the following niche overlap indices between each pair of species: \ schoener: Schoener's niche overlap index\ petraitis: Petraitis' niche overlap index\ czech: Czechanowski index \ morisita: Morisita's overlap index\ levins: Levin's overlap index\ see more information from Gotelli, N(2009).\

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.boot.pair

Examples

Run this code

data(datasample)
niche.overlap.boot(datasample[,1:4], method = "pianka")
niche.overlap.boot(datasample[,1:4], method = "schoener")
niche.overlap.boot(datasample[,1:4], method = "czech")
niche.overlap.boot(datasample[,1:4], method = "levins")

Run the code above in your browser using DataLab