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.

