nnmiss                 package:dprep                 R Documentation

_A_u_x_i_l_i_a_r_y _f_u_n_c_t_i_o_n _f_o_r _k_n_n _i_m_p_u_t_a_t_i_o_n

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

     This function is required to perform k-nn imputation

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

     nnmiss(x, xmiss, ismiss, xnom, K = 1)

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

       x: submatrix of complete rows from original matrix

   xmiss: a row with a missing value

  ismiss: vector that indicates whether a value in xmiss is missing or
          not

    xnom: vector with indexes of nominal variables 

       K: the number of neighbors 

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

     Caroline Rodriguez

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

     'ce.impute'

