distan2                package:dprep                R Documentation

_A_u_x_i_l_i_a_r_y _f_u_n_c_t_i_o_n _f_o_r _c_o_m_p_u_t_i_n_g _t_h_e _R_E_L_I_E_F

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

     Computes the distance between two instances of a dataset
     considering both continuous and nominal attributes.

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

     distan2(x, y, vnom)

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

       x: a given instance  

       y: a given instance

    vnom: a vector containing the indexes of nominal attributes

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

     Edgar Acuna

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

     'relief'

