Skip to content
Prev 27406 / 29559 Next

[FORGED] Create a Spatial Weight Matrix based on road distance

I apologize for the lack of clarity.

Let me try again:

The SWM captures the spatial structure among territories. In the case of a
matrix based on distance, you define a distance-threshold, say 50 km, and
every territory under that distance is considered as neighbor, in the
matrix, those territories considered neighbors take the value 1, and 0
otherwise (territories beyond 50 km). This is what 'dnearneigh' function
does.

Then, I want to define a distance-threshold, say 50 km by road (not
euclidean) and every territory under that distance (by road) be considered
as neighbor.

El s?b., 22 de jun. de 2019 a la(s) 21:15, Rolf Turner (
r.turner at auckland.ac.nz) escribi?:
one road, however it's not a big deal. If I define a distance of 50 km, it
doesn't matter how many times two counties are connected, I just need that
they are at 50 km trough, at least, one road.
This is a big challenge, I'm still working on it.
If two counties are not connected through a road, they could not be
neighbors. In this case, it would correspond to a value 0 in the matrix.
research fields.
I got it.

  
    

Thread (24 messages)

Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 20 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 20 Adrian Baddeley Create a Spatial Weight Matrix based on road distance Jun 20 Andres Diaz Loaiza Create a Spatial Weight Matrix based on road distance Jun 21 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 22 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 22 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 22 Juan Pablo Carranza Create a Spatial Weight Matrix based on road distance Jun 22 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Juan Pablo Carranza Create a Spatial Weight Matrix based on road distance Jun 22 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 23 Roger Bivand Create a Spatial Weight Matrix based on road distance Jun 23 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 23 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 23 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 23 Roger Bivand Create a Spatial Weight Matrix based on road distance Jun 24 Andres Diaz Loaiza Create a Spatial Weight Matrix based on road distance Jun 24 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 26 Danlin Yu Create a Spatial Weight Matrix based on road distance Jun 27 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 27