Moran's I - nb class?
You can fin dome information on the vignette of my own package spacemakeR. Go to http://biomserv.univ-lyon1.fr/~dray/, Softwares section, download or open the spacemakeR archive, and read the tutorial in the inst/doc directory. Sincerely,
Debarchana Ghosh wrote:
Hi, I'm trying to calculate global Moran's I for residuals from glm model. I read the manual of spdep package and for the function 'moran' it requires a 'listw' object created by the function nb2listw, which in turn requires the object of class 'nb'. I can't understand how to create the object of class nb and which function to use to create it. Any help will be appreciated. Thanks, Debarchana.
St?phane DRAY (dray at biomserv.univ-lyon1.fr ) Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I 43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France Tel: 33 4 72 43 27 57 Fax: 33 4 72 43 13 88 http://biomserv.univ-lyon1.fr/~dray/