Skip to content

Moran's index

3 messages · Marc Schwartz, Stéphane Dray, james taylor

#
A quick search using the R site search engine, shows that package
'spdep' by Roger Bivand contains what you are looking for.

The URL for the help page for function moran() is at:

http://finzi.psych.upenn.edu/R/library/spdep/html/moran.html

See the associated functions listed on that page.

HTH,

Marc Schwartz
#
Computations and tests for Moran's I and Geray's c are available in 
the spdep package.
#
Hi,

I am looking for some code for Moran's I.  Has anyone previously done this?
 I have been unable to find it in the search engines.

James