min_diff: MinDiff Size Overlap Metric

Description Usage Arguments Details Value References Examples

Description

Function to calculate the minimum absolute size difference between species within an assemblage.

Usage

1
min_diff(m = runif(20))

Arguments

m

a vector of non-negative trait measures, one for each species

Details

Although this index is typically used to examine body size differences in an animal assemblage, it could be used for any morphological index, such as beak size, or for a phenological "trait", such as peak flowering time in a plant assemblage.

Value

Returns the minimum difference between adjacent, ordered values.

References

Simberloff, D. and W.J. Boecklen. 1981. Santa Rosalia reconsidered: size ratios and competition. Evolution 35: 1206-1228.

Examples

1
MinSizeDif <- min_diff(rgamma(20,shape=3,scale=2))


Search within the EcoSimR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.