# Boostrap the niche overlap indices

`niche.overlap.boot.pair.Rd`

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.pair(vectorA, vectorB, method = c("levins",
         "schoener", "petraitis", "pianka", "czech", "morisita"),
          times = 1000, quant = c(0.025, 0.975))

## Arguments

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.

## Value

This function will return a vector containing:\ `"Observed", \ "Boot mean", \ "Boot std", \ "Boot CI1", \ "Boot CI2", \ "times"` \

## References

Zhang Jin-tun,(2004 ) Quantitative Ecology, Science Press, Beijing

## Author

Jinlong Zhang jinlongzhang01@gmail.com

## Note

This is an internal function, please use `niche.overlap.boot`.

## See also

`niche.overlap.boot`

## Examples

    data(datasample)
    niche.overlap.boot.pair(datasample[,1], datasample[,2], method = "levins")
    #>  Observed Boot mean  Boot std  Boot CI1  Boot CI2     times
    #>     0.921     0.927     0.054     0.814     1.031  1000.000