near2                 package:dprep                 R Documentation

_A_u_x_i_l_i_a_r_y _f_u_n_c_t_i_o_n _f_o_r _t_h_e _r_e_l_i_e_f_c_a_t _f_u_n_c_t_i_o_n

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

     This function finds out the instance in the data matrix  that is
     closest to a given instance x. The attributes could be either
     continuous or nominal.

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

     near2(x, data, vnom)

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

       x: a given instance

    data: the name of the dataset

    vnom: a vector of indexes for nominal attributes

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

     Edgar Acuna

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

     'relief','near1'

