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.
niche.overlap.boot.pair(vectorA, vectorB, method = c("levins",
"schoener", "petraitis", "pianka", "czech", "morisita"),
times = 999, quant = c(0.025, 0.975))
This function will return a vector including the following elements:\
"Observed", \
"Boot mean", \
"Boot std", \
"Boot CI1", \
"Boot CI2", \
"times"
\
A numerical vector including species A's abundance or value of importance.
A numerical vector including species B's abundance or value of importance.
Niche overlap indeces to be applied.
Number of bootstraps
Confidence interval of the bootstrap results.
Jinlong Zhang jinlongzhang01@gmail.com
To do.
Zhang Jin-tun,(2004 ) Quantitative Ecology, Science Press, Beijing
niche.overlap.boot
### niche.overlap.boot.pair() example
data(datasample)
niche.overlap.boot.pair(datasample[,1],datasample[,2], method = "levins")
Run the code above in your browser using DataLab