getErrors                package:FKBL                R Documentation

_C_h_e_c_k_s _t_h_e _e_r_r_o_r_s _b_e_t_w_e_e_n _t_w_o _v_e_c_t_o_r_s

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

     It counts the number of errors between two class vectors. An error
     is when the inferred class is not the correct one.

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

      getErrors(class1,class2)

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

     Takes two vectors.

  class1: The first class.

  class2: The second class.

_V_a_l_u_e:

     Return the number of discrepancies.

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

      data(c1)
      data(c2)
      getErrors(c1,c2)

