Re: [R] test of spatial dependence?? - ask an ecologist?

2006-12-07 Thread David Farrar
Although you don't have coordinates, there has to be some kind of information on spatial relationships. (I am likely saying the same thing as Roger.) Let me see if I have this right. Some large area is partitioned into cells (polygons in an ArcInfo shape file?) and, within each

Re: [R] test of spatial dependence?? - ask an ecologist?

2006-12-06 Thread Milton Cezar Ribeiro
I never used it, but I beleave that it is a job for mantel.rtest() available on ade4 package. In fact Farrar are right, you will neet the XY coordinates. Give a look at Legendre Legendre text book. HTH, Miltinho Brazil David Farrar [EMAIL PROTECTED] escreveu: In

Re: [R] test of spatial dependence?? - ask an ecologist?

2006-12-06 Thread David Farrar
match-making is such fun. Farrar Milton Cezar Ribeiro [EMAIL PROTECTED] wrote: I never used it, but I beleave that it is a job for mantel.rtest() available on ade4 package. In fact Farrar are right, you will neet the XY coordinates. Give a look at Legendre Legendre text

Re: [R] test of spatial dependence?? - ask an ecologist?

2006-12-06 Thread Xu Yuan
Thanks David and Milton for replies. No, I don't have the coordiates. In other words, my data are not point data. But I think there is a way to test of spatial dependence for areal data or lattice data. In this case, the variable of interest is typically the average value of an area instead of a

Re: [R] test of spatial dependence?? - ask an ecologist?

2006-12-06 Thread Roger Bivand
On Wed, 6 Dec 2006, Xu Yuan wrote: Thanks David and Milton for replies. No, I don't have the coordiates. In other words, my data are not point data. But I think there is a way to test of spatial dependence for areal data or lattice data. In this case, the variable of interest is typically the

Re: [R] test of spatial dependence?? - ask an ecologist?

2006-12-05 Thread David Farrar
In addition to the 25 numbers, I assume you have coordinates of each field. Otherwise, I don't understand what you are trying to do. I think ecologists like to use a test due to Mantel in this situation. The prefix auto means self, of course, the idea being that measurements