aRTlayer-getNN {aRT} | R Documentation |
Function that returns the nearest neighbours of an object, based on the Euclidean distances.
## S4 method for signature 'aRTlayer': getNN(object, layer=object, ID, quantity=1)
object |
Object of class aRTlayer . |
layer |
Object of class aRTlayer . The returned IDs belong to this layer. |
ID |
The spatial object id of an object belonging to object . |
quantity |
The number of neighbors to be returned. |
Pedro Ribeiro de Andrade
See aRTlayer-class
to the description of this class.