Wednesday, December 14, 2011

Mantel test

http://www.ats.ucla.edu/stat/r/faq/mantel_test.htm

A Mantel test measures the correlation between two matrices typically containing measures of distance. A Mantel test is one way of testing for spatial autocorrelation. Using functions in the ade4 library, we can perform a Mantel test in R. To download and load this library, enter install.packages("ade4") and then library(ade4). There are other Mantel test functions available in other R libraries and our choice of this library's should not be seen as an endorsement in any way.

No comments: