Re: [R-sig-Geo] help in constructing spatial weight matrix

2012-06-11 Thread Roger Bivand
On Tue, 12 Jun 2012, Fabricio Vasselai wrote: Dear list, Given a following up to this question, I have myself a somewhat similar question to that of Alsulami. I have a shp of Finnish cities and would like to generate for them a weight matrix of neighborhood based on inverse distance (for furthe

Re: [R-sig-Geo] help in constructing spatial weight matrix

2012-06-11 Thread Fabricio Vasselai
Dear list, Given a following up to this question, I have myself a somewhat similar question to that of Alsulami. I have a shp of Finnish cities and would like to generate for them a weight matrix of neighborhood based on inverse distance (for further use in Moran's I calculus). Here is the code I'

Re: [R-sig-Geo] help in constructing spatial weight matrix

2012-04-03 Thread Roger Bivand
On Tue, 3 Apr 2012, dwl Al_Sulami wrote: Dear there I am trying to construct spatial weight matrix using inverse distance, which means that high weight is given to near observations and ,vies versa, where w_ij=w_ji and w_ii=0, Since, I am a new R user, I've tried many functions in sp,spdep p

[R-sig-Geo] help in constructing spatial weight matrix

2012-04-03 Thread dwl Al_Sulami
Dear there I am trying to construct spatial weight matrix using inverse distance, which means that high weight is given to near observations and ,vies versa, where w_ij=w_ji and w_ii=0, Since, I am a new R user, I've tried many functions in sp,spdep packages and I find some functions to find we