top                  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 _B_a_y'_s _A_l_g_o_r_i_t_h_m

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

     Function that finds the n candidates for outliers that were
     requested by the user.

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

     top(O, neighbors, n)

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

       O: n x 1 matrix with the score function from k nearest neighbors 

neighbors: the number of neighbors to be considered 

       n: the number of top outliers to search for.

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

     Caroline Rodriguez

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

     'baysout'

