Description Usage Arguments Details Value Author(s)
This function tests Moran's I for each eigenvector of a spatial
weighting matrix. It uses the permutation procedure implemented in the
spdep
package.
1 | test.scores(scores,listw,nsim=999)
|
scores |
An object created by the score.listw function. |
listw |
An object of the class |
nsim |
Number of permutations. |
Negative autocorrelation is tested for eigenvectors associated with negative eigenvalues. Positive autocorrelation is tested for eigenvectors associated with positive eigenvalues.
A data.frame
with values of Moran's I and p-value
Stephane Dray
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.