Skip to contents

Cody Measure

Usage

index_cody(x, ...)

# S4 method for class 'matrix'
index_cody(x)

Arguments

x

A \(m \times p\) numeric matrix of count data (absolute frequencies, i.e. a contingency table).

...

Currently not used.

Value

A numeric vector.

Details

This assumes that the order of the matrix rows (from \(1\) to \(n\)) follows the progression along the gradient/transect.

References

Cody, M. L. (1975). Towards a theory of continental species diversity: Bird distributions over Mediterranean habitat gradients. In M. L. Cody & J. M. Diamond (Eds.), Ecology and Evolution of Communities. Cambridge, MA: Harvard University Press, p. 214-257.

Author

N. Frerebeau