-------------------------------------------------------------------------------
help for dupneigh
-------------------------------------------------------------------------------

Duplicating neighbours

dupneigh locivar locjvar

Description

dupneigh duplicates spatial neighbourhood information of the form

locivar locjvar ------- ------- 1 2 1 3 1 4 2 4 3 4

so that it takes the form

1 2 1 3 1 4 2 4 3 4 2 1 3 1 4 1 4 2 4 3

In the first form, the neighbourhood of two locations is indicated once and in the second form it is indicated twice.

In fact, any numeric or string identifiers may be used.

Remarks

dupneigh is a utility for users of spautoc.

Examples

. dupneigh i j

Author

Nicholas J. Cox, Durham University, U.K. n.j.cox@durham.ac.uk

Also see

On-line: help for spautoc, neigh, numids