Re: [R] Help needed on calculation of Moran's I

2007-10-26 Thread Geertje Van der Heijden
School of Geography University of Leeds Leeds LS2 9JT Tel: (+44)(0)113 3433345 Email: [EMAIL PROTECTED] -Original Message- From: Thibaut Jombart [mailto:[EMAIL PROTECTED] Sent: 26 October 2007 15:49 To: Geertje Van der Heijden Cc: [EMAIL PROTECTED] Subject: Re: [R] Help needed on calc

Re: [R] Help needed on calculation of Moran's I

2007-10-26 Thread Thibaut Jombart
Geertje Van der Heijden wrote: >Hi, > >I am trying to calculate Moran's I test for the residuals for a >regression equation, but I have trouble converting my coordinates into >nb format. > >I have used the dnearneigh() funtion now with an arbitrarily high upper >distance to make it include all pl

[R] Help needed on calculation of Moran's I

2007-10-26 Thread Geertje Van der Heijden
Hi, I am trying to calculate Moran's I test for the residuals for a regression equation, but I have trouble converting my coordinates into nb format. I have used the dnearneigh() funtion now with an arbitrarily high upper distance to make it include all plots. However, when I do the lm.morantest