Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/niche.overlap.boot.pair.R
bootstrap the niche overlap indices between a pair of species. This is an internal function used by niche.overlap.boot
, use niche.overlap.boot
instead.
1 2 3 | niche.overlap.boot.pair(vectorA, vectorB, method = c("levins",
"schoener", "petraitis", "pianka", "czech", "morisita"),
times = 1000, quant = c(0.025, 0.975))
|
vectorA |
A numeric vector containing species A's abundance or importance value. |
vectorB |
A numeric vector containing species B's abundance or importance value. |
method |
Name of the index to use. |
times |
Number of bootstraps |
quant |
Confidence intervals of the bootstrap results. |
This function will return a vector containing:\
"Observed", \
"Boot mean", \
"Boot std", \
"Boot CI1", \
"Boot CI2", \
"times"
\
This is an internal function, please use niche.overlap.boot
.
Jinlong Zhang jinlongzhang01@gmail.com
Zhang Jin-tun,(2004 ) Quantitative Ecology, Science Press, Beijing
1 2 | data(datasample)
niche.overlap.boot.pair(datasample[,1], datasample[,2], method = "levins")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.