get.nb

0th

Percentile

Function for calculating neighbouting polygons.

This function allows the user to calculate, for every given polygon (in the array 'index'), the list of its neighbouring polygons.

Keywords
file
Usage
get.nb(arc,pal, index=NULL)
Arguments
arc
The list of arc definitions, as returned by 'get.arcdata'.
pal
The list of polygon definitions, as returned by 'get.paldata'.
index
An array with the polygons we want to use to calculate their neighbours. It must be an array. If 'index' is not set, then all the polygons are used.
Value

A list in which the first element is a vector of the neighbouring polygons of the fist element in 'index', and so on.

Aliases
  • get.nb
Documentation reproduced from package RArcInfo, version 0.4-12, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.