aRTlayer-getNN              package:aRT              R Documentation

_G_e_t _N_e_a_r_e_s_t _N_e_i_g_h_b_o_r_s

_D_e_s_c_r_i_p_t_i_o_n:

     Function that returns the nearest neighbours of an object, based
     on the Euclidean distances.

_U_s_a_g_e:

     ## S4 method for signature 'aRTlayer':
     getNN(object, layer=object, ID, quantity=1)

_A_r_g_u_m_e_n_t_s:

  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.

_A_u_t_h_o_r(_s):

     Pedro Ribeiro de Andrade

_S_e_e _A_l_s_o:

     See 'aRTlayer-class' to the description of this class.

