test.scores: Function to compute and test Moran's I for eigenvectors of...

Description Usage Arguments Details Value Author(s)

Description

This function tests Moran's I for each eigenvector of a spatial weighting matrix. It uses the permutation procedure implemented in the spdep package.

Usage

1
test.scores(scores,listw,nsim=999)

Arguments

scores

An object created by the score.listw function.

listw

An object of the class listw created by functions of the spdep package.

nsim

Number of permutations.

Details

Negative autocorrelation is tested for eigenvectors associated with negative eigenvalues. Positive autocorrelation is tested for eigenvectors associated with positive eigenvalues.

Value

A data.frame with values of Moran's I and p-value

Author(s)

Stephane Dray


spacemakeR documentation built on May 2, 2019, 4:51 p.m.