powered by
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.
niche.overlap.boot
niche.overlap.boot.pair(vectorA, vectorB, method = c("levins", "schoener", "petraitis", "pianka", "czech", "morisita"), times = 1000, quant = c(0.025, 0.975))
This function will return a vector containing:\ "Observed", \ "Boot mean", \ "Boot std", \ "Boot CI1", \ "Boot CI2", \ "times" \
"Observed", \ "Boot mean", \ "Boot std", \ "Boot CI1", \ "Boot CI2", \ "times"
A numeric vector containing species A's abundance or importance value.
A numeric vector containing species B's abundance or importance value.
Name of the index to use.
Number of bootstraps
Confidence intervals of the bootstrap results.
Jinlong Zhang jinlongzhang01@gmail.com
Zhang Jin-tun,(2004 ) Quantitative Ecology, Science Press, Beijing
data(datasample) niche.overlap.boot.pair(datasample[,1], datasample[,2], method = "levins")
Run the code above in your browser using DataLab