

lvqtest(class)                               R Documentation

_C_l_a_s_s_i_f_y _T_e_s_t _S_e_t _f_r_o_m _L_V_Q _C_o_d_e_b_o_o_k

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

     Classify a test set by 1-NN from a specified LVQ code-
     book.

_U_s_a_g_e_:

     lvqtest(codebk, test)

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

  codebk: codebook object returned by other LVQ software

    test: matrix of test examples

_D_e_t_a_i_l_s_:

     uses 1-NN to classify each test example against the
     codebook.

_V_a_l_u_e_:

     factor of classification for each row of `x'

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

     `lvqinit', `olvq1'

_E_x_a_m_p_l_e_s_:

     # The function is currently defined as
     function(codebk, test) knn1(codebk$x, test, codebk$cl)

