Learn R Programming

vegan (version 1.6-0)

rankindex: Compares Dissimilarity Indices for Gradient Detection

Description

Rank correlations between dissimilarity indices and gradient separation.

Usage

rankindex(grad, veg, indices = c("euc", "man", "gow", "bra", "kul"),
          stepacross = FALSE, method = "kendall", ...)

Arguments

grad
The gradient variable or matrix.
veg
The community data matrix.
indices
Dissimilarity indices compared, partial matches to alternatives in vegdist.
stepacross
Use stepacross to find a shorter path dissimilarity. The dissimilarities for site pairs with no shared species are set NA using no.shared<
method
Rank correlation method used.
...
Other parameters to stepacross.

Value

  • Returns a named vector of rank correlations.

Details

A good dissimilarity index for multidimensional scaling should have a high rank-order similarity with gradient separation. The function compares most indices in vegdist against gradient separation using rank correlation coefficients in cor.test.

References

Faith, F.P., Minchin, P.R. and Belbin, L. (1987). Compositional dissimilarity as a robust measure of ecological distance. Vegetatio 69, 57-68.

See Also

vegdist, stepacross, no.shared, isoMDS, cor.test, Machine, and for alternatives anosim, mantel and protest.

Examples

Run this code
data(varespec)
data(varechem)
## The next scales all environmental variables to unit variance.
## Some would use PCA transformation.
rankindex(scale(varechem), varespec)
rankindex(scale(varechem), wisconsin(varespec))

Run the code above in your browser using DataLab