niche.overlap.boot {spaa} | R Documentation |
Boostrap of niche overlap
Description
Bootstrap of niche overlap between species.
Usage
niche.overlap.boot(mat, method = c("pianka", "schoener", "petraitis",
"czech", "morisita", "levins"), times = 999, quant = c(0.025, 0.975))
Arguments
mat |
A community data matrix with columns representing species, and rows representing sites. |
method |
A character string indicating the index of niche overlap to be applied. |
times |
Interger, Number of bootstrap to be implemented. |
quant |
Quantile of bootstrap results, the confidence intervals. |
Details
This function bootstraps the niche overlap within each pair of species. \ pianka: Pianka's niche overlap index\ 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).\
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"
\
Author(s)
Jinlong Zhang jinlongzhang01@gmail.com
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
Examples
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")