Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

spaa (version 0.2.2)

niche.overlap.boot.pair: 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))

Value

This function will return a vector including the following elements:\ "Observed", \ "Boot mean", \ "Boot std", \ "Boot CI1", \ "Boot CI2", \ "times" \

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.

Author

Jinlong Zhang jinlongzhang01@gmail.com

Details

To do.

References

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

See Also

niche.overlap.boot

Examples

Run this code

### 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