aRTlayer-getNN {aRT}R Documentation

Get Nearest Neighbors

Description

Function that return the nearest neighbors of an object, using the distance.

Usage

this-is-escaped-code{{aRTlayer}(object, id, quantity=2)

Arguments

object Object of class aRTlayer.
id The spatial object id.
quantity The number of neighbors to be returned. Default is 1.

Author(s)

Pedro Ribeiro de Andrade Neto

See Also

See aRTlayer-class to the description of this class.


[Package aRT version 0.4-0 Index]