niche.overlap.boot.pair {spaa} | R Documentation |
Niche overlap boostrap utility function
Description
Compute the bootstrap value between two vectors. This is a internal function called by niche.overlap.boot
, users are encouraged to use the latter function.
Usage
niche.overlap.boot.pair(vectorA, vectorB, method = c("levins",
"schoener", "petraitis", "pianka", "czech", "morisita"),
times = 999, quant = c(0.025, 0.975))
Arguments
vectorA |
A numerical vector including species A's abundance or value of importance. |
vectorB |
A numerical vector including species B's abundance or value of importance. |
method |
Niche overlap indeces to be applied. |
times |
Number of bootstraps |
quant |
Confidence interval of the bootstrap results. |
Details
To do.
Value
This function will return a vector including the following elements:\
"Observed", \
"Boot mean", \
"Boot std", \
"Boot CI1", \
"Boot CI2", \
"times"
\
Note
Users are ecouraged to call niche.overlap.boot
rather than this function.
Author(s)
Jinlong Zhang jinlongzhang01@gmail.com
References
Zhang Jin-tun,(2004 ) Quantitative Ecology, Science Press, Beijing
See Also
Examples
### niche.overlap.boot.pair() example
data(datasample)
niche.overlap.boot.pair(datasample[,1],datasample[,2], method = "levins")
[Package spaa version 0.2.2 Index]