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 return the nearest neighbors of an object, using the
     distance.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

  object: Object of class 'aRTlayer'.

      id: The spatial object id.

quantity: The number of neighbors to be returned. Default is 1.

_A_u_t_h_o_r(_s):

     Pedro Ribeiro de Andrade Neto

_S_e_e _A_l_s_o:

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

